diff options
| author | Antoni Boucher <bouanto@zoho.com> | 2023-06-19 18:51:02 -0400 |
|---|---|---|
| committer | Antoni Boucher <bouanto@zoho.com> | 2023-06-19 18:51:02 -0400 |
| commit | 4d96893d853a261e5d59c860108c3ddd3872c544 (patch) | |
| tree | 5d2c37aea2f88c37d1b8b926456703652719fcda /compiler/rustc_codegen_gcc/build_sysroot | |
| parent | 405130538938e2d63a761b7d8d6b27d26e634c33 (diff) | |
| parent | 1bbee3e217d75e7bc3bfe5d8c1b35e776fce96e6 (diff) | |
| download | rust-4d96893d853a261e5d59c860108c3ddd3872c544.tar.gz rust-4d96893d853a261e5d59c860108c3ddd3872c544.zip | |
Merge commit '1bbee3e217d75e7bc3bfe5d8c1b35e776fce96e6' into sync-cg_gcc-2023-06-19
Diffstat (limited to 'compiler/rustc_codegen_gcc/build_sysroot')
| -rw-r--r-- | compiler/rustc_codegen_gcc/build_sysroot/Cargo.toml | 1 | ||||
| -rwxr-xr-x | compiler/rustc_codegen_gcc/build_sysroot/prepare_sysroot_src.sh | 8 |
2 files changed, 5 insertions, 4 deletions
diff --git a/compiler/rustc_codegen_gcc/build_sysroot/Cargo.toml b/compiler/rustc_codegen_gcc/build_sysroot/Cargo.toml index cfadf47cc3f..a84f86a8218 100644 --- a/compiler/rustc_codegen_gcc/build_sysroot/Cargo.toml +++ b/compiler/rustc_codegen_gcc/build_sysroot/Cargo.toml @@ -9,6 +9,7 @@ compiler_builtins = "0.1" alloc = { path = "./sysroot_src/library/alloc" } std = { path = "./sysroot_src/library/std", features = ["panic_unwind", "backtrace"] } test = { path = "./sysroot_src/library/test" } +proc_macro = { path = "./sysroot_src/library/proc_macro" } [patch.crates-io] rustc-std-workspace-core = { path = "./sysroot_src/library/rustc-std-workspace-core" } diff --git a/compiler/rustc_codegen_gcc/build_sysroot/prepare_sysroot_src.sh b/compiler/rustc_codegen_gcc/build_sysroot/prepare_sysroot_src.sh index 56768bbf1d0..71b3876bac2 100755 --- a/compiler/rustc_codegen_gcc/build_sysroot/prepare_sysroot_src.sh +++ b/compiler/rustc_codegen_gcc/build_sysroot/prepare_sysroot_src.sh @@ -29,10 +29,10 @@ git config user.name || git config user.name "None" git commit -m "Initial commit" -q for file in $(ls ../../patches/ | grep -v patcha); do -echo "[GIT] apply" $file -git apply ../../patches/$file -git add -A -git commit --no-gpg-sign -m "Patch $file" + echo "[GIT] apply" $file + git apply ../../patches/$file + git add -A + git commit --no-gpg-sign -m "Patch $file" done popd |
