2023-03-30 07:58:50 -05:00
|
|
|
include ../tools.mk
|
2022-10-31 07:53:54 -05:00
|
|
|
|
|
|
|
# ignore-cross-compile
|
2023-05-02 05:53:09 -05:00
|
|
|
# needs-unwind #[bench] and -Zpanic-abort-tests can't be combined
|
2022-10-31 06:21:14 -05:00
|
|
|
|
|
|
|
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)
|