-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed
Description
This is d0d3707.
I am trying to follow this tutorial to learn something about iOS. It contains a step about cross compiling rustc for iOS:
$ mkdir build && cd build
$ ../configure --target=armv7-apple-ios,armv7s-apple-ios,i386-apple-ios,aarch64-apple-ios,x86_64-apple-ios --prefix=/opt/rust-ios-toolchains
$ make -j8
...tons of output...
rustc: x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib/librustc_bitflags
rustc: x86_64-apple-darwin/stage2/lib/rustlib/armv7-apple-ios/lib/liballoc
rustc: x86_64-apple-darwin/stage2/lib/rustlib/armv7s-apple-ios/lib/liballoc
rustc: x86_64-apple-darwin/stage2/lib/rustlib/aarch64-apple-ios/lib/liballoc
rustc: x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-ios/lib/libcollections
rustc: x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib/liballoc
rustc: x86_64-apple-darwin/stage2/lib/rustlib/armv7-apple-ios/lib/libcollections
rustc: x86_64-apple-darwin/stage2/lib/rustlib/armv7s-apple-ios/lib/libcollections
rustc: x86_64-apple-darwin/stage2/lib/rustlib/i386-apple-ios/lib/libcollections
rustc: x86_64-apple-darwin/stage2/lib/rustlib/aarch64-apple-ios/lib/libcollections
rustc: x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib/libcollections
rustc: x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-ios/lib/libstd
rustc: x86_64-apple-darwin/stage2/lib/rustlib/armv7-apple-ios/lib/libstd
warning: dropping unsupported crate type `dylib` for target `x86_64-apple-ios`
warning: dropping unsupported crate type `dylib` for target `armv7-apple-ios`
rustc: x86_64-apple-darwin/stage2/lib/rustlib/armv7s-apple-ios/lib/libstd
rustc: x86_64-apple-darwin/stage2/lib/rustlib/i386-apple-ios/lib/libstd
warning: dropping unsupported crate type `dylib` for target `armv7s-apple-ios`
warning: dropping unsupported crate type `dylib` for target `i386-apple-ios`
rustc: x86_64-apple-darwin/stage2/lib/rustlib/aarch64-apple-ios/lib/libstd
warning: dropping unsupported crate type `dylib` for target `aarch64-apple-ios`
rustc: x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib/libstd
../src/libstd/sys/unix/backtrace.rs:133:5: 133:17 error: use of unstable library feature 'result_fold': has not seen enough usage to justify its position in the standard library
../src/libstd/sys/unix/backtrace.rs:133 result::fold(iter, (), |_, _| ())
^~~~~~~~~~~~
../src/libstd/sys/unix/backtrace.rs:133:5: 133:17 help: add #![feature(result_fold)] to the crate attributes to enable
../src/libstd/sys/unix/backtrace.rs:133:5: 133:17 error: use of deprecated item: has not seen enough usage to justify its position in the standard library, #[deny(deprecated)] on by default
../src/libstd/sys/unix/backtrace.rs:133 result::fold(iter, (), |_, _| ())
^~~~~~~~~~~~
error: aborting due to 2 previous errors
make: *** [x86_64-apple-darwin/stage2/lib/rustlib/armv7-apple-ios/lib/stamp.std] Error 101
make: *** Waiting for unfinished jobs....
../src/libstd/sys/unix/backtrace.rs:133:5: 133:17 error: use of unstable library feature 'result_fold': has not seen enough usage to justify its position in the standard library
../src/libstd/sys/unix/backtrace.rs:133 result::fold(iter, (), |_, _| ())
^~~~~~~~~~~~
../src/libstd/sys/unix/backtrace.rs:133:5: 133:17 help: add #![feature(result_fold)] to the crate attributes to enable
../src/libstd/sys/unix/backtrace.rs:133:5: 133:17 error: use of deprecated item: has not seen enough usage to justify its position in the standard library, #[deny(deprecated)] on by default
../src/libstd/sys/unix/backtrace.rs:133 result::fold(iter, (), |_, _| ())
^~~~~~~~~~~~
error: aborting due to 2 previous errors
make: *** [x86_64-apple-darwin/stage2/lib/rustlib/armv7s-apple-ios/lib/stamp.std] Error 101
Seems like an honest bug - I wonder why I only see this with these config flags? Am I doing it wrong?
Metadata
Metadata
Assignees
Labels
No labels