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 @@ -45,7 +45,7 @@ pub struct TestConfig {
4545 /// Whether the build under test is explicitly using `--enable-debug-assertions`.
4646 /// Note that this flag can be implied from others, like `rust.debug`, and we do not handle any
4747 /// of these subtleties and defaults here, as per the FIXME above.
48- pub enable_debug_assertions : bool ,
48+ pub rust_debug_assertions : bool ,
4949}
5050
5151impl Environment {
@@ -135,7 +135,7 @@ impl TestConfig {
135135 pub fn from_configure_args ( configure_args : & str ) -> TestConfig {
136136 let enable_debug_assertions =
137137 configure_args. split ( " " ) . find ( |part| * part == "--enable-debug-assertions" ) . is_some ( ) ;
138- TestConfig { enable_debug_assertions }
138+ TestConfig { rust_debug_assertions : enable_debug_assertions }
139139 }
140140}
141141
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