-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Mac Catalyst: ld
is trying to find prebuilt rustlib
when building with -Z build-std
#107670
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
Comments
The thing described by the issue title is merely a warning. The actual error is |
Thanks for helping! @bjorn3 I made another commit to my demo: https://github.com/imWildCat-archived/rs-demo/actions/runs/4110334750 which created artifacts for
➜ rust-target-dir-x86_64-apple-ios-macabi cd x86_64-apple-ios-macabi/debug/deps/
➜ deps fd rs_demo-521d12542c4c7be3. -x file {}
./rs_demo-521d12542c4c7be3.3i3usuytvnh90f5d.rcgu.o: Mach-O 64-bit object x86_64
./rs_demo-521d12542c4c7be3.2qji0k665nmkk6cb.rcgu.o: Mach-O 64-bit object x86_64
./rs_demo-521d12542c4c7be3.3okfkjsnslejtqlm.rcgu.o: Mach-O 64-bit object x86_64
./rs_demo-521d12542c4c7be3.1bxeufcsx2uf9wms.rcgu.o: Mach-O 64-bit object x86_64
./rs_demo-521d12542c4c7be3.3a98xjqypw74yju3.rcgu.o: Mach-O 64-bit object x86_64
./rs_demo-521d12542c4c7be3.11h1k1cxazyrm761.rcgu.o: Mach-O 64-bit object x86_64
./rs_demo-521d12542c4c7be3.2n8jw0mkj0otg1qk.rcgu.o: Mach-O 64-bit object x86_64
./rs_demo-521d12542c4c7be3.1b4n3ypj1i7wdx18.rcgu.o: Mach-O 64-bit object x86_64
./rs_demo-521d12542c4c7be3.d: ASCII text |
That CI run complains about |
Yeah, that looks like it is the same issue. |
This is really difficult for me. I decided to give up my Mac Catalyst app first. 🥶 |
I've used automerge 1.0 with a Catalyst app. Now when automerge 2.0 was released I can't migrate because of this bug. |
I tried this code:
with
cargo +nightly build --verbose -Z build-std --target x86_64-apple-ios-macabi
source: https://github.com/imWildCat-archived/rs-demo/blob/main/src/main.rs
I expected to see this happen: this code can be built with cargo, with nightly toolchain, targeting x86_64-apple-ios-macabi
Instead, this happened:
Meta
rustc --version --verbose
:(source)
Nightly version:
Full repro: https://github.com/imWildCat-archived/rs-demo/actions/runs/4092406201/jobs/7057120479
Additional notes
This bug has been existing since last summer, probably before
+nightly-2022-08-08
.Previously I thought it is related to #106925
But it should be a different issue.
I'm happy to propose a fix. However, I'm not sure where I can start. May I have some hint?
The text was updated successfully, but these errors were encountered: