Skip to content

Commit

Permalink
fix: restore target-cpu=native
Browse files Browse the repository at this point in the history
  • Loading branch information
0xaatif committed Jul 8, 2024
1 parent 4774375 commit f1ac34c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions zero_bin/tools/prove_rpc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
export RUST_MIN_STACK=33554432
export RUST_BACKTRACE=1
export RUST_LOG=info
# Script users are running locally, and might benefit from extra perf.
# See also .cargo/config.toml.
export RUSTFLAGS='-C target-cpu=native -Zlinker-features=-lld'

if [[ $8 == "test_only" ]]; then
# Circuit sizes don't matter in test_only mode, so we keep them minimal.
Expand Down
3 changes: 3 additions & 0 deletions zero_bin/tools/prove_stdio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ export TOKIO_WORKER_THREADS=$num_procs
export RUST_MIN_STACK=33554432
export RUST_BACKTRACE=full
export RUST_LOG=info
# Script users are running locally, and might benefit from extra perf.
# See also .cargo/config.toml.
export RUSTFLAGS='-C target-cpu=native -Zlinker-features=-lld'

INPUT_FILE=$1
TEST_ONLY=$2
Expand Down

0 comments on commit f1ac34c

Please sign in to comment.