]>
Commit | Line | Data |
---|---|---|
48663c56 | 1 | # needs-profiler-support |
1b1a35ee XL |
2 | # ignore-windows-gnu |
3 | ||
4 | # FIXME(mati865): MinGW GCC miscompiles compiler-rt profiling library but with Clang it works | |
5 | # properly. Since we only have GCC on the CI ignore the test for now. | |
0531ce1d | 6 | |
f2b60f7d | 7 | include ../tools.mk |
9fa01778 | 8 | |
dc9dc135 XL |
9 | COMPILE_FLAGS=-Copt-level=3 -Clto=fat -Cprofile-generate="$(TMPDIR)" |
10 | ||
0531ce1d | 11 | all: |
dc9dc135 | 12 | $(RUSTC) $(COMPILE_FLAGS) test.rs |
0531ce1d | 13 | $(call RUN,test) || exit 1 |
48663c56 | 14 | [ -e "$(TMPDIR)"/default_*.profraw ] || (echo "No .profraw file"; exit 1) |