From f2f5452089a6cf8eb611badf20118960030f6585 Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Tue, 9 Feb 2021 14:36:25 +0100 Subject: Use real atomic instructions instead of a global lock --- scripts/config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/config.sh b/scripts/config.sh index e1f54e4a8b5..c2ed2bf256d 100644 --- a/scripts/config.sh +++ b/scripts/config.sh @@ -26,7 +26,7 @@ export RUSTC=$dir"/bin/cg_clif" export RUSTDOCFLAGS=$linker' -Cpanic=abort -Zpanic-abort-tests '\ '-Zcodegen-backend='$dir'/lib/librustc_codegen_cranelift.'$dylib_ext' --sysroot '$dir -# FIXME remove once the atomic shim is gone +# FIXME fix `#[linkage = "extern_weak"]` without this if [[ "$unamestr" == 'Darwin' ]]; then export RUSTFLAGS="$RUSTFLAGS -Clink-arg=-undefined -Clink-arg=dynamic_lookup" fi -- cgit 1.4.1-3-g733a5