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
This commit is contained in:
bors 2023-11-29 17:41:27 +00:00
commit b10cfcd65f
4 changed files with 12 additions and 2 deletions

View file

@ -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() {