Enable incr comp in release mode

This commit is contained in:
bjorn3 2020-01-03 21:30:56 +01:00
parent 7564a043d0
commit e9a8d8bf67

View File

@ -4,7 +4,7 @@ set -e
if [[ "$1" == "--release" ]]; then
export CHANNEL='release'
cargo build --release $CG_CLIF_COMPILE_FLAGS
CARGO_INCREMENTAL=1 cargo build --release $CG_CLIF_COMPILE_FLAGS
else
export CHANNEL='debug'
cargo build $CG_CLIF_COMPILE_FLAGS