fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1# needs-profiler-support 2# ignore-windows-gnu 3# ignore-cross-compile 4 5# FIXME(mati865): MinGW GCC miscompiles compiler-rt profiling library but with Clang it works 6# properly. Since we only have GCC on the CI ignore the test for now. 7 8include ../tools.mk 9 10COMPILE_FLAGS=-Copt-level=3 -Clto=fat -Cprofile-generate="$(TMPDIR)" 11 12all: 13 $(RUSTC) $(COMPILE_FLAGS) test.rs 14 $(call RUN,test) || exit 1 15 [ -e "$(TMPDIR)"/default_*.profraw ] || (echo "No .profraw file"; exit 1)