about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/build_sysroot
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2022-03-26 18:29:37 +0100
committerbjorn3 <bjorn3@users.noreply.github.com>2022-03-26 18:29:37 +0100
commitbbff48e09463618dde1627883a350b7427ae6d44 (patch)
tree84d7f352faf7b9dc8f37d379b9f79311160bf7fe /compiler/rustc_codegen_gcc/build_sysroot
parent1fca19c8ca4ae5e71e8b17a82c3acfeb78c48891 (diff)
parent39683d8eb7a32a74bea96ecbf1e87675d3338506 (diff)
downloadrust-bbff48e09463618dde1627883a350b7427ae6d44.tar.gz
rust-bbff48e09463618dde1627883a350b7427ae6d44.zip
Merge commit '39683d8eb7a32a74bea96ecbf1e87675d3338506' into sync_cg_gcc-2022-03-26
Diffstat (limited to 'compiler/rustc_codegen_gcc/build_sysroot')
-rwxr-xr-xcompiler/rustc_codegen_gcc/build_sysroot/build_sysroot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_gcc/build_sysroot/build_sysroot.sh b/compiler/rustc_codegen_gcc/build_sysroot/build_sysroot.sh
index d1dcf495db8..a965ca971a0 100755
--- a/compiler/rustc_codegen_gcc/build_sysroot/build_sysroot.sh
+++ b/compiler/rustc_codegen_gcc/build_sysroot/build_sysroot.sh
@@ -22,7 +22,7 @@ if [[ "$1" == "--release" ]]; then
     RUSTFLAGS="$RUSTFLAGS -Zmir-opt-level=3" cargo build --target $TARGET_TRIPLE --release
 else
     sysroot_channel='debug'
-    cargo build --target $TARGET_TRIPLE
+    cargo build --target $TARGET_TRIPLE --features compiler_builtins/c
 fi
 
 # Copy files to sysroot