Skip to content

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

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
madsmtm:fix-test-arm64e
May 18, 2026
Merged

Fix cross-compiling macos-deployment-target-warning test#155870
rust-bors[bot] merged 1 commit into
rust-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
@chenyukang
Copy link
Copy Markdown
Member

@bors r=chenyukang

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors Bot commented May 18, 2026

📌 Commit 3be45b3 has been approved by chenyukang

It is now in the queue for this repository.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 18, 2026
rust-bors Bot pushed a commit that referenced this pull request May 18, 2026
…uwer

Rollup of 13 pull requests

Successful merges:

 - #156196 (Include vendored sources in the rust-src component)
 - #155870 (Fix cross-compiling `macos-deployment-target-warning` test)
 - #156492 (remove/update various cfg(miri))
 - #156676 (Preserve spans when hiding do_not_recommend impls)
 - #155313 (doc(core::cmp::Eq): fix definition of symmetry)
 - #156234 (implement `into_array` for `Vec<T>`)
 - #156488 (Fix missing period in Iterator product doc comment)
 - #156572 (std: replace "safe" with "sound" in safety documentation)
 - #156624 (c ffi document fixes for c_short.md)
 - #156638 (library: Fix std compilation for espidf target in unix::process)
 - #156647 (Change division to multiplication in floating-point midpoint)
 - #156668 (Fix typo in `format_into` docs: signed -> unsigned)
 - #156677 (change `other uses of const` to `raw pointers` in const keyword docs)
@rust-bors rust-bors Bot merged commit 1f9aa27 into rust-lang:main May 18, 2026
11 checks passed
@rustbot rustbot added this to the 1.97.0 milestone May 18, 2026
rust-timer added a commit that referenced this pull request May 18, 2026
Rollup merge of #155870 - madsmtm:fix-test-arm64e, r=chenyukang

Fix cross-compiling `macos-deployment-target-warning` test

`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
github-actions Bot pushed a commit to rust-lang/rustc-dev-guide that referenced this pull request May 18, 2026
…uwer

Rollup of 13 pull requests

Successful merges:

 - rust-lang/rust#156196 (Include vendored sources in the rust-src component)
 - rust-lang/rust#155870 (Fix cross-compiling `macos-deployment-target-warning` test)
 - rust-lang/rust#156492 (remove/update various cfg(miri))
 - rust-lang/rust#156676 (Preserve spans when hiding do_not_recommend impls)
 - rust-lang/rust#155313 (doc(core::cmp::Eq): fix definition of symmetry)
 - rust-lang/rust#156234 (implement `into_array` for `Vec<T>`)
 - rust-lang/rust#156488 (Fix missing period in Iterator product doc comment)
 - rust-lang/rust#156572 (std: replace "safe" with "sound" in safety documentation)
 - rust-lang/rust#156624 (c ffi document fixes for c_short.md)
 - rust-lang/rust#156638 (library: Fix std compilation for espidf target in unix::process)
 - rust-lang/rust#156647 (Change division to multiplication in floating-point midpoint)
 - rust-lang/rust#156668 (Fix typo in `format_into` docs: signed -> unsigned)
 - rust-lang/rust#156677 (change `other uses of const` to `raw pointers` in const keyword docs)
@madsmtm madsmtm deleted the fix-test-arm64e branch May 18, 2026 14:17
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-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. 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