File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ fn run_compiletest(mode: &str, path: &str) {
14
14
let mut config = compiletest:: Config :: default ( ) ;
15
15
config. mode = mode. parse ( ) . ok ( ) . expect ( "Invalid mode" ) ;
16
16
config. src_base = PathBuf :: from ( path) ;
17
- config. link_deps ( ) ;
17
+ config. target_rustcflags = Some ( "-L ../target/debug/ -L ../target/debug/deps/" . to_owned ( ) ) ;
18
18
19
19
compiletest:: run_tests ( & config) ;
20
20
}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ fn run_compiletest(mode: &str, path: &str) {
8
8
let mut config = compiletest:: Config :: default ( ) ;
9
9
config. mode = mode. parse ( ) . ok ( ) . expect ( "Invalid mode" ) ;
10
10
config. src_base = PathBuf :: from ( path) ;
11
- config. link_deps ( ) ;
11
+ config. target_rustcflags = Some ( "-L target/debug/ -L target/debug/deps/" . to_owned ( ) ) ;
12
12
13
13
compiletest:: run_tests ( & config) ;
14
14
}
You can’t perform that action at this time.
0 commit comments