diff options
| author | bors <bors@rust-lang.org> | 2023-11-29 17:41:27 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-11-29 17:41:27 +0000 |
| commit | b10cfcd65fd7f7b1ab9beb34798b2108de003452 (patch) | |
| tree | 9ac65c10ce088bebc761bd7b964d9eac52e2bbe3 /src/bootstrap | |
| parent | abe34e9ab14c0a194152b4f9acc3dcbb000f3e98 (diff) | |
| parent | 0b2fd391dce96ea9519614d9d2ceb89bfa2adc0a (diff) | |
Auto merge of #118132 - onur-ozkan:stdlib-assertion-status-to-compiletest, r=wesleywiser
utilize stdlib debug assertion status in compiletest Implemented a new flag `--with-debug-assertions` on compiletest to pass the stdlib debug assertion status from bootstrap. Resolves #115171
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/src/core/build_steps/test.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bootstrap/src/core/build_steps/test.rs b/src/bootstrap/src/core/build_steps/test.rs index cf52270efac..77a4f2c4cb2 100644 --- a/src/bootstrap/src/core/build_steps/test.rs +++ b/src/bootstrap/src/core/build_steps/test.rs @@ -1827,6 +1827,10 @@ NOTE: if you're sure you want to do this, please open an issue as to why. In the cmd.arg("--json"); + if builder.config.rust_debug_assertions_std { + cmd.arg("--with-debug-assertions"); + }; + let mut llvm_components_passed = false; let mut copts_passed = false; if builder.config.llvm_enabled() { |
