diff options
Diffstat (limited to 'tests/run-make/test-benches/Makefile')
-rw-r--r-- | tests/run-make/test-benches/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/run-make/test-benches/Makefile b/tests/run-make/test-benches/Makefile new file mode 100644 index 000000000..8fc122515 --- /dev/null +++ b/tests/run-make/test-benches/Makefile @@ -0,0 +1,11 @@ +include ../../run-make-fulldeps/tools.mk + +# ignore-cross-compile + +all: + # Smoke-test that `#[bench]` isn't entirely broken. + $(RUSTC) --test smokebench.rs -O + $(call RUN,smokebench --bench) + $(call RUN,smokebench --bench noiter) + $(call RUN,smokebench --bench yesiter) + $(call RUN,smokebench) |