1
- use crate :: config:: TomlConfig ;
2
-
1
+ use crate :: core:: config:: TomlConfig ;
3
2
use super :: { Config , Flags } ;
3
+
4
4
use clap:: CommandFactory ;
5
5
use serde:: Deserialize ;
6
6
use std:: {
@@ -18,7 +18,7 @@ fn parse(config: &str) -> Config {
18
18
19
19
#[ test]
20
20
fn download_ci_llvm ( ) {
21
- if crate :: llvm:: is_ci_llvm_modified ( & parse ( "" ) ) {
21
+ if crate :: core :: build_steps :: llvm:: is_ci_llvm_modified ( & parse ( "" ) ) {
22
22
eprintln ! ( "Detected LLVM as non-available: running in CI and modified LLVM in this change" ) ;
23
23
return ;
24
24
}
@@ -137,7 +137,7 @@ build-config = {}
137
137
assert_eq ! ( config. change_id, Some ( 1 ) , "setting top-level value" ) ;
138
138
assert_eq ! (
139
139
config. rust_lto,
140
- crate :: config:: RustcLto :: Fat ,
140
+ crate :: core :: config:: RustcLto :: Fat ,
141
141
"setting string value without quotes"
142
142
) ;
143
143
assert_eq ! ( config. gdb, Some ( "bar" . into( ) ) , "setting string value with quotes" ) ;
@@ -175,7 +175,7 @@ fn profile_user_dist() {
175
175
"profile = \" user\" " . to_owned ( )
176
176
} else {
177
177
assert ! ( file. ends_with( "config.dist.toml" ) ) ;
178
- std:: fs:: read_to_string ( dbg ! ( file) ) . unwrap ( )
178
+ std:: fs:: read_to_string ( file) . unwrap ( )
179
179
} ;
180
180
toml:: from_str ( & contents)
181
181
. and_then ( |table : toml:: Value | TomlConfig :: deserialize ( table) )
0 commit comments