Skip to content

Fix cross-compiling macos-deployment-target-warning test#155870

Open
madsmtm wants to merge 1 commit intorust-lang:mainfrom
madsmtm:fix-test-arm64e
Open

Fix cross-compiling macos-deployment-target-warning test#155870
madsmtm wants to merge 1 commit intorust-lang:mainfrom
madsmtm:fix-test-arm64e

Conversation

@madsmtm
Copy link
Copy Markdown
Contributor

@madsmtm madsmtm commented Apr 27, 2026

cc() gets target flags, which won't match with the host triple used by bare_rustc().

Follow-up to #155716, with both of these, ./x test --target arm64e-apple-darwin tests now succeeds.

r? compiler

@rustbot rustbot added A-run-make Area: port run-make Makefiles to rmake.rs S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Apr 27, 2026
@madsmtm madsmtm added the O-macos Operating system: macOS label Apr 27, 2026
@rust-log-analyzer

This comment has been minimized.

`cc()` gets target flags, which won't match with the host triple used
by `bare_rustc()`.
@madsmtm madsmtm marked this pull request as ready for review April 27, 2026 11:09
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-run-make Area: port run-make Makefiles to rmake.rs O-macos Operating system: macOS S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants