Disable timings by default for cargo.sh

Fixes #1121
This commit is contained in:
bjorn3 2021-01-06 14:54:19 +01:00
parent 1a1cdac930
commit 3ea8915d4a
3 changed files with 2 additions and 2 deletions

View file

@ -12,6 +12,7 @@ dir=$(pwd)
# build scripts are still compiled using cg_llvm. # build scripts are still compiled using cg_llvm.
export RUSTC=$dir"/bin/cg_clif_build_sysroot" export RUSTC=$dir"/bin/cg_clif_build_sysroot"
export RUSTFLAGS=$RUSTFLAGS" --clif" export RUSTFLAGS=$RUSTFLAGS" --clif"
export CG_CLIF_DISPLAY_CG_TIME=1
cd "$(dirname "$0")" cd "$(dirname "$0")"

View file

@ -56,4 +56,3 @@ fi
export LD_LIBRARY_PATH="$(rustc --print sysroot)/lib" export LD_LIBRARY_PATH="$(rustc --print sysroot)/lib"
export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH
export CG_CLIF_DISPLAY_CG_TIME=1

View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
set -e set -e
export RUSTFLAGS="-Zrun_dsymutil=no" export CG_CLIF_DISPLAY_CG_TIME=1
./build.sh --without-sysroot "$@" ./build.sh --without-sysroot "$@"