Selaa lähdekoodia

adding rust flags

Nicolas Winkler 3 vuotta sitten
vanhempi
commit
6d1386aa14
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  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