| 1 |
[2mdiff --git benchmark.py benchmark.py[0m |
| 2 |
[2mindex a191ee0..d99c8a8 100755[0m |
| 3 |
[1m--- xxbenchmark.py[0m |
| 4 |
[1m+++ xxbenchmark.py[0m |
| 5 |
[36m@@ -76,7 +76,9 @@ [1mdef gather_binaries():[0m |
| 6 |
# Build the current version |
| 7 |
print() |
| 8 |
print("Building current sources...") |
| 9 |
[31m- subprocess.run(["cargo", "build", "--release"], check=True)[0m |
| 10 |
[32m+ buildenv = os.environ.copy()[0m |
| 11 |
[32m+ buildenv["RUSTFLAGS"] = "-Awarnings"[0m |
| 12 |
[32m+ subprocess.run(["cargo", "build", "--release"], check=True[7m, env=buildenv[27m)[0m |
| 13 |
shutil.copy("target/release/riff", os.path.join(BINDIR, "riff-current")) |
| 14 |
|
| 15 |
|