Skip to content
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

./x check std --target aarch64-apple-ios fails when cross-checking due to missing xcrun #133840

Open
ChrisDenton opened this issue Dec 4, 2024 · 1 comment
Labels
A-cross Area: Cross compilation A-linkers Area: linkers... you gotta love linkers T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Comments

@ChrisDenton
Copy link
Member

ChrisDenton commented Dec 4, 2024

On a non-mac host, checking std for an ios target fails with the following error:

> ./x check std --target aarch64-apple-ios                                                                                                                          
Building bootstrap
    Finished `dev` profile [unoptimized] target(s) in 0.8s


error occurred: Failed to find tool. Is `xcrun` installed? (see https://docs.rs/cc/latest/cc/#compile-time-requirements for help)


Build completed unsuccessfully in 0:00:01

Ideally I should be able to check any target from any host.

@ChrisDenton ChrisDenton added the T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) label Dec 4, 2024
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Dec 4, 2024
@jieyouxu jieyouxu added O-ios Operating system: iOS A-cross Area: Cross compilation C-bug Category: This is a bug. and removed needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels Dec 4, 2024
@onur-ozkan
Copy link
Member

Previously, this was resolved in #128871 but then check step had to be excluded due to unexpected rebuild issues (see #130108). Let's keep this issue open until we find a solution that prevents rebuilds and ignores the linker configuration for check step.

@onur-ozkan onur-ozkan added A-linkers Area: linkers... you gotta love linkers and removed O-ios Operating system: iOS C-bug Category: This is a bug. labels Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-cross Area: Cross compilation A-linkers Area: linkers... you gotta love linkers T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

No branches or pull requests

4 participants