Kaynağa Gözat

adding rust flags

Nicolas Winkler 3 yıl önce
ebeveyn
işleme
6d1386aa14
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2 1
      build_branches.sh

+ 2 - 1
build_branches.sh

@@ -1,5 +1,6 @@
 #!/bin/bash
 
+export RUSTFLAGS="-C target-cpu=native -C lto -C embed-bitcode=yes"
 BRANCH=testing
 
 for commit in $(cat test_commits.txt)
@@ -7,4 +8,4 @@ do
     git checkout $commit
     cargo build --release
     mv target/release/bishop bishop_$commit
-done
+done