]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/pgo-gen-lto/Makefile
Auto merge of #93873 - Stovent:big-ints, r=m-ou-se
[rust.git] / src / test / run-make-fulldeps / pgo-gen-lto / 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=-Copt-level=3 -Clto=fat -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)