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>) {
1414 // we can unwrap here because the arg is required here
1515 let rustc_path = PathBuf :: from ( rustc_path. unwrap ( ) ) ;
1616 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 " ) ;
1818 assert ! (
1919 rustc_source_basedir. is_dir( ) ,
2020 "are you sure the path leads to a rustc repo?"
@@ -61,7 +61,7 @@ fn inject_deps_into_manifest(
6161 let new_deps = extern_crates. map ( |dep| {
6262 // format the dependencies that are going to be put inside the Cargo.toml
6363 format ! (
64- "{dep} = {{ path = \" {source_path}/lib {dep}\" }}\n " ,
64+ "{dep} = {{ path = \" {source_path}/{dep}\" }}\n " ,
6565 dep = dep,
6666 source_path = rustc_source_dir. display( )
6767 )
You can’t perform that action at this time.
0 commit comments