t!(fs::create_dir_all(&dst_src));
let src_files = [
- "src/Cargo.lock",
+ "Cargo.lock",
];
// This is the reduced set of paths which will become the rust-src component
// (essentially libstd and all of its path dependencies)
"src/rustc/compiler_builtins_shim",
"src/rustc/libc_shim",
"src/rustc/dlmalloc_shim",
+ "src/rustc/fortanix-sgx-abi_shim",
"src/libtest",
"src/libterm",
"src/libprofiler_builtins",
"configure",
"x.py",
"config.toml.example",
+ "Cargo.toml",
+ "Cargo.lock",
];
let src_dirs = [
"src",
// Vendor all Cargo dependencies
let mut cmd = Command::new(&builder.initial_cargo);
cmd.arg("vendor")
- .current_dir(&plain_dst_src.join("src"));
+ .current_dir(&plain_dst_src);
builder.run(&mut cmd);
}