@@ -88,7 +88,8 @@ pub fn parse_config(args: Vec<String>) -> Config {
88
88
. optopt ( "" , "run" , "whether to execute run-* tests" , "auto | always | never" )
89
89
. optflag ( "" , "ignored" , "run tests marked as ignored" )
90
90
. optflag ( "" , "has-enzyme" , "run tests that require enzyme" )
91
- . optflag ( "" , "with-debug-assertions" , "whether to run tests with `ignore-debug` header" )
91
+ . optflag ( "" , "with-debug-assertions-rustc" , "whether rustc was built with debug assertions" )
92
+ . optflag ( "" , "with-debug-assertions-std" , "whether std was built with debug assertions" )
92
93
. optmulti (
93
94
"" ,
94
95
"skip" ,
@@ -228,7 +229,8 @@ pub fn parse_config(args: Vec<String>) -> Config {
228
229
229
230
let src_base = opt_path ( matches, "src-base" ) ;
230
231
let run_ignored = matches. opt_present ( "ignored" ) ;
231
- let with_debug_assertions = matches. opt_present ( "with-debug-assertions" ) ;
232
+ let with_debug_assertions_rustc = matches. opt_present ( "with-debug-assertions-rustc" ) ;
233
+ let with_debug_assertions_std = matches. opt_present ( "with-debug-assertions-std" ) ;
232
234
let mode = matches. opt_str ( "mode" ) . unwrap ( ) . parse ( ) . expect ( "invalid mode" ) ;
233
235
let has_tidy = if mode == Mode :: Rustdoc {
234
236
Command :: new ( "tidy" )
@@ -286,7 +288,8 @@ pub fn parse_config(args: Vec<String>) -> Config {
286
288
suite : matches. opt_str ( "suite" ) . unwrap ( ) ,
287
289
debugger : None ,
288
290
run_ignored,
289
- with_debug_assertions,
291
+ with_debug_assertions_rustc,
292
+ with_debug_assertions_std,
290
293
filters,
291
294
skip : matches. opt_strs ( "skip" ) ,
292
295
filter_exact : matches. opt_present ( "exact" ) ,
0 commit comments