]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/pgo-gen/Makefile
Auto merge of #101969 - reez12g:issue-101306, r=reez12g
[rust.git] / src / test / run-make-fulldeps / pgo-gen / Makefile
1 # needs-profiler-support
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.
6
7 include ../tools.mk
8
9 COMPILE_FLAGS=-g -Cprofile-generate="$(TMPDIR)"
10
11 all:
12         $(RUSTC) $(COMPILE_FLAGS) test.rs
13         $(call RUN,test) || exit 1
14         [ -e "$(TMPDIR)"/default_*.profraw ] || (echo "No .profraw file"; exit 1)