summaryrefslogtreecommitdiffstats
path: root/tests/run-make/test-benches/Makefile
blob: 11aed2e4c79a6564b2772e0e1e7327d6ab8b52a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
include ../tools.mk

# ignore-cross-compile
# needs-unwind #[bench] and -Zpanic-abort-tests can't be combined

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)