File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ pub fn run(rustc_path: Option<&str>) {
14
14
// we can unwrap here because the arg is required here
15
15
let rustc_path = PathBuf :: from ( rustc_path. unwrap ( ) ) ;
16
16
assert ! ( rustc_path. is_dir( ) , "path is not a directory" ) ;
17
- let rustc_source_basedir = rustc_path. join ( "src " ) ;
17
+ let rustc_source_basedir = rustc_path. join ( "compiler " ) ;
18
18
assert ! (
19
19
rustc_source_basedir. is_dir( ) ,
20
20
"are you sure the path leads to a rustc repo?"
@@ -61,7 +61,7 @@ fn inject_deps_into_manifest(
61
61
let new_deps = extern_crates. map ( |dep| {
62
62
// format the dependencies that are going to be put inside the Cargo.toml
63
63
format ! (
64
- "{dep} = {{ path = \" {source_path}/lib {dep}\" }}\n " ,
64
+ "{dep} = {{ path = \" {source_path}/{dep}\" }}\n " ,
65
65
dep = dep,
66
66
source_path = rustc_source_dir. display( )
67
67
)
You can’t perform that action at this time.
0 commit comments