diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2022-02-13 19:31:49 +0100 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2022-04-29 19:13:41 +0200 |
| commit | 2e65a8f2ca9e2d7ffd42ef8b2c21436d4997c35d (patch) | |
| tree | 70d0d9a94a34c6ddc1dbdf966a214257721c9591 /scripts/tests.sh | |
| parent | 617171e930cc282ceaa71fd6a6cd18615ad1bf59 (diff) | |
Use -Zcodegen-backend instead of a rustc replacement in cargo-clif
Diffstat (limited to 'scripts/tests.sh')
| -rwxr-xr-x | scripts/tests.sh | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/tests.sh b/scripts/tests.sh index cdde44ac67c..cd6b2181ace 100755 --- a/scripts/tests.sh +++ b/scripts/tests.sh @@ -2,8 +2,6 @@ set -e -source scripts/config.sh - export CG_CLIF_DISPLAY_CG_TIME=1 export CG_CLIF_DISABLE_INCR_CACHE=1 @@ -31,8 +29,7 @@ if [[ "$(uname)" == 'Darwin' ]]; then export RUSTFLAGS="$RUSTFLAGS -Clink-arg=-undefined -Clink-arg=dynamic_lookup" fi -export RUSTC=false # ensure that cg_llvm isn't accidentally used -MY_RUSTC="$(pwd)/build/bin/cg_clif $RUSTFLAGS -L crate=target/out --out-dir target/out -Cdebuginfo=2" +MY_RUSTC="$(pwd)/build/rustc-clif $RUSTFLAGS -L crate=target/out --out-dir target/out -Cdebuginfo=2" function no_sysroot_tests() { echo "[BUILD] mini_core" @@ -124,7 +121,7 @@ function extended_sysroot_tests() { if [[ "$HOST_TRIPLE" = "$TARGET_TRIPLE" ]]; then echo "[BENCH COMPILE] ebobby/simple-raytracer" hyperfine --runs "${RUN_RUNS:-10}" --warmup 1 --prepare "../build/cargo-clif clean" \ - "RUSTC=rustc RUSTFLAGS='' cargo build" \ + "RUSTFLAGS='' cargo build" \ "../build/cargo-clif build" echo "[BENCH RUN] ebobby/simple-raytracer" |
