aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/run-one
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2025-11-06 11:36:07 -0600
committerMatt Strapp <matt@mattstrapp.net>2025-11-06 11:36:07 -0600
commit33ed96d543dd6e129ce67346b35e928874d23756 (patch)
tree04d113cec6a661f6a281ed08f58d6f18a22e0148 /contrib/run-one
parentFormat logging better (diff)
downloadwwb-33ed96d543dd6e129ce67346b35e928874d23756.tar
wwb-33ed96d543dd6e129ce67346b35e928874d23756.tar.gz
wwb-33ed96d543dd6e129ce67346b35e928874d23756.tar.bz2
wwb-33ed96d543dd6e129ce67346b35e928874d23756.tar.lz
wwb-33ed96d543dd6e129ce67346b35e928874d23756.tar.xz
wwb-33ed96d543dd6e129ce67346b35e928874d23756.tar.zst
wwb-33ed96d543dd6e129ce67346b35e928874d23756.zip
Target native CPU
Diffstat (limited to 'contrib/run-one')
-rwxr-xr-xcontrib/run-one4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/run-one b/contrib/run-one
index b2dc0ff..c623fb1 100755
--- a/contrib/run-one
+++ b/contrib/run-one
@@ -1,7 +1,7 @@
#!/bin/sh
-cargo build --release
+RUSTFLAGS="-C target-cpu=native" cargo build --release
echo "-- New session started $(date --iso-8601=seconds) --" >> output.log
nice -n 19 ./target/release/wwb game.bin | tee -ai output.log
-echo "-- End session started $(date --iso-8601=seconds) --" >> output.log \ No newline at end of file
+echo "-- End session started $(date --iso-8601=seconds) --" >> output.log