File tree 1 file changed +3
-3
lines changed
src/tools/compiletest/src
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4205,7 +4205,7 @@ impl<'test> TestCx<'test> {
4205
4205
}
4206
4206
4207
4207
let base_dir = Path :: new ( "/rustc/FAKE_PREFIX" ) ;
4208
- // Paths into the libstd/libcore
4208
+ // Fake paths into the libstd/libcore
4209
4209
normalize_path ( & base_dir. join ( "library" ) , "$SRC_DIR" ) ;
4210
4210
// `ui-fulldeps` tests can show paths to the compiler source when testing macros from
4211
4211
// `rustc_macros`
@@ -4221,8 +4221,8 @@ impl<'test> TestCx<'test> {
4221
4221
// eg. /home/user/rust/build
4222
4222
normalize_path ( parent_build_dir, "$BUILD_DIR" ) ;
4223
4223
4224
- // Paths into lib directory.
4225
- normalize_path ( & parent_build_dir. parent ( ) . unwrap ( ) . join ( "lib " ) , "$LIB_DIR " ) ;
4224
+ // Real paths into the libstd/libcore
4225
+ normalize_path ( & parent_build_dir. parent ( ) . unwrap ( ) . join ( "library " ) , "$SRC_DIR_REAL " ) ;
4226
4226
4227
4227
if json {
4228
4228
// escaped newlines in json strings should be readable
You can’t perform that action at this time.
0 commit comments