@@ -88,7 +88,8 @@ pub fn parse_config(args: Vec<String>) -> Config {
8888 . optopt ( "" , "run" , "whether to execute run-* tests" , "auto | always | never" )
8989 . optflag ( "" , "ignored" , "run tests marked as ignored" )
9090 . 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" )
9293 . optmulti (
9394 "" ,
9495 "skip" ,
@@ -228,7 +229,8 @@ pub fn parse_config(args: Vec<String>) -> Config {
228229
229230 let src_base = opt_path ( matches, "src-base" ) ;
230231 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" ) ;
232234 let mode = matches. opt_str ( "mode" ) . unwrap ( ) . parse ( ) . expect ( "invalid mode" ) ;
233235 let has_tidy = if mode == Mode :: Rustdoc {
234236 Command :: new ( "tidy" )
@@ -286,7 +288,8 @@ pub fn parse_config(args: Vec<String>) -> Config {
286288 suite : matches. opt_str ( "suite" ) . unwrap ( ) ,
287289 debugger : None ,
288290 run_ignored,
289- with_debug_assertions,
291+ with_debug_assertions_rustc,
292+ with_debug_assertions_std,
290293 filters,
291294 skip : matches. opt_strs ( "skip" ) ,
292295 filter_exact : matches. opt_present ( "exact" ) ,
0 commit comments