소스 검색

adding rust flags

Nicolas Winkler 3 년 전
부모
커밋
6d1386aa14
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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