-
Notifications
You must be signed in to change notification settings - Fork 41
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
failed build release aarch64-apple-ios #44
Comments
Are you using GitHub Actions by any chance? |
No im not i just want to build release build for ios target aarch64-apple-ios Command: cargo lipo --release |
I have the same trouble in
|
We were running into a similar issue but ours was related to |
Thank you very much @rajivshah3, it does help a lot. I am also using maturin, so in my case it's the same maturin related bug. |
Oh, great! We've pinned |
I’m trying to build youki on Alpine Linux with Rust and Cargo installed from the Alpine packages (
What the heck is this?! Someone has again created some stupid assumption that there’s only limited set of triplets? |
Half a year has passed, there’s the first stable release of youki and I ran into this crap again and it’s still not fixed. |
This is not due to this crate, and I haven't been proactive enough about closing this, so I will do so now. @jirutka I'll ask you to tone down your behavior as well. |
You’re right that it’s not due to this crate, I finally found the cause – the youki author committed Let me show you full build log:
It looks like it did compile several crates and failed on cfg-if. Yes, If I had tried to build it with
It’s my fault that I didn’t, but 1. the error message is really very misleading, 2. I already encountered crates that stupidly assume a fixed set of build triplets, 3. I found this unresolved issue describing the same error, 4. it wouldn’t be the first time I’ve been bitten by your assumptions. So I was a bit annoyed and had no reason to look for another cause. So I’m sorry for my tone, but I hope you will understand it now. |
@alexcrichton thanks you for the work, really appreciate your work. |
error[E0463]: can't find crate for
core
|
= note: the
aarch64-apple-ios
target may not be installederror: aborting due to previous error
For more information about this error, try
rustc --explain E0463
.error: could not compile
cfg-if
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error[E0463]: can't find crate for
core
|
= note: the
aarch64-apple-ios
target may not be installederror: aborting due to previous error
For more information about this error, try
rustc --explain E0463
.error: build failed
[ERROR cargo_lipo] Failed to build "rust_sdk" for "aarch64-apple-ios": Executing "/Users/xxxx/.rustup/toolchains/nightly-x86_64-apple-darwin/bin/cargo" "--color" "auto" "build" "-p" "rust_sdk" "--target" "aarch64-apple-ios" "--release" "--lib" finished with error status: exit code: 101
The text was updated successfully, but these errors were encountered: