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 {
47
47
/// Whether the build under test is explicitly using `--enable-debug-assertions`.
48
48
/// Note that this flag can be implied from others, like `rust.debug`, and we do not handle any
49
49
/// of these subtleties and defaults here, as per the FIXME above.
50
- pub enable_debug_assertions : bool ,
50
+ pub rust_debug_assertions : bool ,
51
51
}
52
52
53
53
impl Environment {
@@ -145,7 +145,7 @@ impl TestConfig {
145
145
pub fn from_configure_args ( configure_args : & str ) -> TestConfig {
146
146
let enable_debug_assertions =
147
147
configure_args. split ( " " ) . find ( |part| * part == "--enable-debug-assertions" ) . is_some ( ) ;
148
- TestConfig { enable_debug_assertions }
148
+ TestConfig { rust_debug_assertions : enable_debug_assertions }
149
149
}
150
150
}
151
151
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ llvm-config = "{llvm_config}"
85
85
rustc = rustc_path. to_string( ) . replace( '\\' , "/" ) ,
86
86
cargo = cargo_path. to_string( ) . replace( '\\' , "/" ) ,
87
87
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 ,
89
89
) ;
90
90
log:: info!( "Using following `bootstrap.toml` for running tests:\n {config_content}" ) ;
91
91
You can’t perform that action at this time.
0 commit comments