Explorar el Código

adding rust flags

Nicolas Winkler hace 3 años
padre
commit
6d1386aa14
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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