I'm trying to compile a rust project on my iPhone X on iOS 13.7 running procursus bootstrap with OdysseyRa1n.
build-essential is installed. I can see the SDK at /usr/share/SDKs/iPhoneOS.sdk
I get this error which I can't figure out where cargo is looking for the iPhoneOS SDK.
# root @ arinc9-iPhone in ~/boringtun on git:090b805 o [15:20:14]
$ TEMPDIR=/var/root cargo build --bin boringtun --release
error: failed to run `rustc` to learn about target-specific information
Caused by:
process didn't exit successfully: `rustc - --crate-name ___ --print=file-names -C llvm-args=-slp-recursion-max-depth=1024 --emit asm --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=cfg` (exit code: 1)
--- stderr
error: Error loading target specification: failed to get iphoneos SDK path: No such file or directory (os error 2). Use `--print target-list` for a list of built-in targets
I'm trying to compile a rust project on my iPhone X on iOS 13.7 running procursus bootstrap with OdysseyRa1n.
build-essential
is installed. I can see the SDK at/usr/share/SDKs/iPhoneOS.sdk
I get this error which I can't figure out where cargo is looking for the iPhoneOS SDK.