-
Notifications
You must be signed in to change notification settings - Fork 12.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
thread 'rustc' panicked at 'called Option::unwrap()
on a None
value', src/libcore/option.rs:347:21
#64482
Comments
Can you run against with |
Sorry for the late reply. Backtrace:
|
It's probably one of the rust/src/librustc_codegen_llvm/back/archive.rs Lines 221 to 312 in 4ff32c0
|
thanks for your help! Then it's probably either these commands
or this part from my cargo config file
|
when following these install instructions (which work under Ubuntu 18.04) compiling for openssl-sys fails with:
thread 'rustc' panicked at 'called
Option::unwrap()
on aNone
value', src/libcore/option.rs:347:21.cargo/config file:
[target.aarch64-linux-android]
ar = "/Users/bianca/Library/Android/sdk/ndk/20.0.5594570//toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ar"
linker = "/Users/bianca/Library/Android/sdk/ndk/20.0.5594570//toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android29-clang"
System:
MacOS Mojave (10.14.5 (18F132))
rustc 1.37.0 (eae3437 2019-08-13)
build commands:
export CC=/Users/bianca/Library/Android/sdk/ndk/20.0.5594570/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android29-clang
export AR=/Users/bianca/Library/Android/sdk/ndk/20.0.5594570/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ar
cargo build --target aarch64-linux-android --release
The text was updated successfully, but these errors were encountered: