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.

Signed-off-by: onur-ozkan <work@onurozkan.dev>
This commit is contained in:
onur-ozkan 2023-11-21 15:46:41 +03:00
parent ee5ef3aac9
commit 0b2fd391dc
4 changed files with 12 additions and 2 deletions

View file

@ -1825,6 +1825,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() {