-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Update cc
+ bump bootstrap deps
#132994
base: master
Are you sure you want to change the base?
Update cc
+ bump bootstrap deps
#132994
Conversation
@bors try |
[CI] bisecting cc issue rust-lang#132556 (comment) r? `@ghost` First, checking if cc 1.2 fixes this try-job: dist-various-2
☀️ Try build successful - checks-actions |
Seems fixed in 1.2. Going to check first if we can bump safely in all locations, then I'll see if we can update the pinned version for bootstrap too |
[CI] bisecting cc issue rust-lang#132556 (comment) r? `@ghost` First, checking if cc 1.2 fixes this try-job: dist-various-2
⌛ Trying commit 60edf9c with merge d8936f46b626668f31b4da6d30641531e4751fd4... |
☀️ Try build successful - checks-actions |
These commits modify the If this was unintentional then you should revert the changes before this PR is merged. These commits modify the If this was unintentional then you should revert the changes before this PR is merged. |
r? bootstrap |
This comment has been minimized.
This comment has been minimized.
☔ The latest upstream changes (presumably #132556) made this pull request unmergeable. Please resolve the merge conflicts. |
Looks like rust-lang/cc-rs#1225 made cc only accept hardcoded target triples, and we use some dummy ones in tests |
static TEST_TRIPLE_1: &str = "i686-unknown-haiku"; | ||
static TEST_TRIPLE_2: &str = "i686-unknown-hurd-gnu"; | ||
static TEST_TRIPLE_3: &str = "i686-unknown-netbsd"; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc
now requires real targets, so these are used instead of A-A
. However, if I use tier 1/2 targets, I get failures like:
thread 'core::builder::tests::defaults::build_cross_compile' panicked at src/core/builder/tests.rs:301:9:
assertion failed: `(left == right)`
Diff < left / right > :
[
Std {
- target: aarch64-unknown-linux-gnu,
+ target: x86_64-unknown-linux-gnu,
compiler: Compiler {
stage: 0,
host: x86_64-unknown-linux-gnu,
},
crates: [],
force_recompile: false,
extra_rust_args: [],
is_for_mir_opt_tests: false,
},
Tier 3 works fine, but this seems like some weird behaviour
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r? bootstrap (see #133036) |
#132556 (comment)
note: The compiler/library/tools cc bumps have been tested with a try job, the bootstrap changes have not