Fix cross-compiling macos-deployment-target-warning test#155870
Merged
Conversation
This comment has been minimized.
This comment has been minimized.
5f46482 to
24ec73d
Compare
`cc()` gets target flags, which won't match with the host triple used by `bare_rustc()`.
24ec73d to
3be45b3
Compare
Member
|
@bors r=chenyukang |
Contributor
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-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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cc()gets target flags, which won't match with the host triple used bybare_rustc().Follow-up to #155716, with both of these,
./x test --target arm64e-apple-darwin testsnow succeeds.r? compiler