Skip to content

Commit 6f6409c

Browse files
committed
fix(bench-build): do not require data for building Rust project with Clang in C++-vs-Rust chart (wat)
1 parent 5b542a3 commit 6f6409c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/bench-build-charts.py

+4
Original file line numberDiff line numberDiff line change
@@ -785,6 +785,10 @@ def get_benchmark_specs(self) -> typing.Iterable[BenchmarkSpec]:
785785

786786
for project in ("rust", "cpp"):
787787
for toolchain_label in toolchains.keys():
788+
if project == "rust" and "Rust" not in toolchain_label:
789+
continue
790+
if project == "cpp" and "Clang" not in toolchain_label:
791+
continue
788792
for benchmark_name in (
789793
"build and test only my code",
790794
"incremental build and test (diagnostic_types.rs)"

0 commit comments

Comments
 (0)