mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 03:33:59 +00:00
Move crates_patches
and cross_patches
into the patches
folder
This commit is contained in:
parent
6afabceaa6
commit
a883c6da20
@ -95,7 +95,7 @@ fn prepare_libcore(
|
||||
)?;
|
||||
if cross_compile {
|
||||
walk_dir(
|
||||
"cross_patches",
|
||||
"patches/cross_patches",
|
||||
|_| Ok(()),
|
||||
|file_path: &Path| {
|
||||
patches.push(file_path.to_path_buf());
|
||||
@ -161,7 +161,7 @@ where
|
||||
run_command(&[&"git", &"checkout", &checkout_commit], Some(&repo_path))?;
|
||||
let filter = format!("-{}-", clone_result.repo_name);
|
||||
walk_dir(
|
||||
"crate_patches",
|
||||
"patches/crate_patches",
|
||||
|_| Ok(()),
|
||||
|file_path| {
|
||||
let patch = file_path.as_os_str().to_str().unwrap();
|
||||
|
Loading…
Reference in New Issue
Block a user