-
Notifications
You must be signed in to change notification settings - Fork 13.3k
bootstrap minor improvements and clean-ups #128588
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1449,15 +1449,11 @@ impl<'a> Builder<'a> { | |
assert_eq!(target, compiler.host); | ||
} | ||
|
||
if self.config.rust_optimize.is_release() { | ||
// FIXME: cargo bench/install do not accept `--release` | ||
// and miri doesn't want it | ||
Comment on lines
-1453
to
-1454
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This doesn't seem like a FIXME note; it's more like a regular note. |
||
match cmd_kind { | ||
Kind::Bench | Kind::Install | Kind::Miri | Kind::MiriSetup | Kind::MiriTest => {} | ||
_ => { | ||
cargo.arg("--release"); | ||
} | ||
} | ||
if self.config.rust_optimize.is_release() && | ||
// cargo bench/install do not accept `--release` and miri doesn't want it | ||
!matches!(cmd_kind, Kind::Bench | Kind::Install | Kind::Miri | Kind::MiriSetup | Kind::MiriTest) | ||
{ | ||
cargo.arg("--release"); | ||
} | ||
|
||
// Remove make-related flags to ensure Cargo can correctly set things up | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -616,8 +616,6 @@ impl Config { | |
}; | ||
|
||
// For the beta compiler, put special effort into ensuring the checksums are valid. | ||
// FIXME: maybe we should do this for download-rustc as well? but it would be a pain to update | ||
// this on each and every nightly ... | ||
Comment on lines
-619
to
-620
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It sounds painful and I think we will never be doing this. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For a future possibility, maybe distribute the hashes with the tarballs? |
||
let checksum = if should_verify { | ||
let error = format!( | ||
"src/stage0 doesn't contain a checksum for {url}. \ | ||
|
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.
This is an outdated FIXME we had for rust-demangler.