File: prepended-lines.riff-output

package info (click to toggle)
rust-riffdiff 3.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 5,784 kB
  • sloc: sh: 206; python: 132; makefile: 11
file content (15 lines) | stat: -rw-r--r-- 624 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git benchmark.py benchmark.py
index a191ee0..d99c8a8 100755
--- xxbenchmark.py
+++ xxbenchmark.py
@@ -76,7 +76,9 @@ def gather_binaries():
     # Build the current version
     print()
     print("Building current sources...")
-    subprocess.run(["cargo", "build", "--release"], check=True)
+    buildenv = os.environ.copy()
+    buildenv["RUSTFLAGS"] = "-Awarnings"
+    subprocess.run(["cargo", "build", "--release"], check=True, env=buildenv)
     shutil.copy("target/release/riff", os.path.join(BINDIR, "riff-current"))