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:: { env, path:: Path } ;
@@ -13,7 +13,7 @@ fn parse(config: &str) -> Config {
13
13
14
14
#[ test]
15
15
fn download_ci_llvm ( ) {
16
- if crate :: llvm:: is_ci_llvm_modified ( & parse ( "" ) ) {
16
+ if crate :: core :: build_steps :: llvm:: is_ci_llvm_modified ( & parse ( "" ) ) {
17
17
eprintln ! ( "Detected LLVM as non-available: running in CI and modified LLVM in this change" ) ;
18
18
return ;
19
19
}
@@ -132,7 +132,7 @@ build-config = {}
132
132
assert_eq ! ( config. change_id, Some ( 1 ) , "setting top-level value" ) ;
133
133
assert_eq ! (
134
134
config. rust_lto,
135
- crate :: config:: RustcLto :: Fat ,
135
+ crate :: core :: config:: RustcLto :: Fat ,
136
136
"setting string value without quotes"
137
137
) ;
138
138
assert_eq ! ( config. gdb, Some ( "bar" . into( ) ) , "setting string value with quotes" ) ;
@@ -170,7 +170,7 @@ fn profile_user_dist() {
170
170
"profile = \" user\" " . to_owned ( )
171
171
} else {
172
172
assert ! ( file. ends_with( "config.dist.toml" ) ) ;
173
- std:: fs:: read_to_string ( dbg ! ( file) ) . unwrap ( )
173
+ std:: fs:: read_to_string ( file) . unwrap ( )
174
174
} ;
175
175
toml:: from_str ( & contents)
176
176
. and_then ( |table : toml:: Value | TomlConfig :: deserialize ( table) )
0 commit comments