Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e454022

Browse files
committed
bootstrap: Only warn about rust.debug-assertions if downloading rustc
1 parent a153133 commit e454022

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/bootstrap/src/core/config/config.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,7 @@ impl Config {
955955
config.download_rustc_commit =
956956
download_ci_rustc_commit(dwn_ctx, rust_download_rustc, config.llvm_assertions);
957957

958-
if debug_assertions_requested {
958+
if debug_assertions_requested && config.download_rustc_commit.is_some(){
959959
eprintln!(
960960
"WARN: `rust.debug-assertions = true` will prevent downloading CI rustc as alt CI \
961961
rustc is not currently built with debug assertions."

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /