File tree 1 file changed +3
-7
lines changed
1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ fn pathless_tools() {
33
33
#[ test]
34
34
fn absolute_tools ( ) {
35
35
let target = rustc_host ( ) ;
36
- let root = if cfg ! ( windows) { r#"C:\"# } else { "/" } ;
37
36
38
37
// Escaped as they appear within a TOML config file
39
38
let config = if cfg ! ( windows) {
@@ -62,14 +61,11 @@ fn absolute_tools() {
62
61
) ,
63
62
) . build ( ) ;
64
63
65
- foo. cargo ( "build --verbose" ) . with_stderr ( & format ! (
66
- "\
64
+ foo. cargo ( "build --verbose" ) . with_stderr ( "\
67
65
[COMPILING] foo v0.5.0 ([CWD])
68
- [RUNNING] `rustc [..] -C ar={root} bogus/nonexistent-ar -C linker={root} bogus/nonexistent-linker [..]`
66
+ [RUNNING] `rustc [..] -C ar=[ROOT] bogus/nonexistent-ar -C linker=[ROOT] bogus/nonexistent-linker [..]`
69
67
[FINISHED] dev [unoptimized + debuginfo] target(s) in [..]
70
- " ,
71
- root = root,
72
- ) ) . run ( ) ;
68
+ " ) . run ( ) ;
73
69
}
74
70
75
71
#[ test]
You can’t perform that action at this time.
0 commit comments