File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ pub struct TestConfig {
4747 /// Whether the build under test is explicitly using `--enable-debug-assertions`.
4848 /// Note that this flag can be implied from others, like `rust.debug`, and we do not handle any
4949 /// of these subtleties and defaults here, as per the FIXME above.
50- pub enable_debug_assertions : bool ,
50+ pub rust_debug_assertions : bool ,
5151}
5252
5353impl Environment {
@@ -145,7 +145,7 @@ impl TestConfig {
145145 pub fn from_configure_args ( configure_args : & str ) -> TestConfig {
146146 let enable_debug_assertions =
147147 configure_args. split ( " " ) . find ( |part| * part == "--enable-debug-assertions" ) . is_some ( ) ;
148- TestConfig { enable_debug_assertions }
148+ TestConfig { rust_debug_assertions : enable_debug_assertions }
149149 }
150150}
151151
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ llvm-config = "{llvm_config}"
8585 rustc = rustc_path. to_string( ) . replace( '\\' , "/" ) ,
8686 cargo = cargo_path. to_string( ) . replace( '\\' , "/" ) ,
8787 llvm_config = llvm_config. to_string( ) . replace( '\\' , "/" ) ,
88- debug_assertions = env. test_config( ) . enable_debug_assertions ,
88+ debug_assertions = env. test_config( ) . rust_debug_assertions ,
8989 ) ;
9090 log:: info!( "Using following `bootstrap.toml` for running tests:\n {config_content}" ) ;
9191
You can’t perform that action at this time.
0 commit comments