We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96b8729 commit 5af2f80Copy full SHA for 5af2f80
src/test/run-make/pgo-gen-lto/Makefile src/test/run-make-fulldeps/pgo-gen-lto/Makefile
@@ -2,7 +2,7 @@
2
3
all:
4
ifeq ($(PROFILER_SUPPORT),1)
5
- $(RUSTC) -Copt-level=3 -Clto=fat -Z pgo-gen=test.profraw test.rs
+ $(RUSTC) -Copt-level=3 -Clto=fat -Z pgo-gen="$(TMPDIR)/test.profraw" test.rs
6
$(call RUN,test) || exit 1
7
[ -e "$(TMPDIR)/test.profraw" ] || (echo "No .profraw file"; exit 1)
8
endif
src/test/run-make/pgo-gen-lto/test.rs src/test/run-make-fulldeps/pgo-gen-lto/test.rs
src/test/run-make/pgo-gen/Makefile src/test/run-make-fulldeps/pgo-gen/Makefile
- $(RUSTC) -g -Z pgo-gen=test.profraw test.rs
+ $(RUSTC) -g -Z pgo-gen="$(TMPDIR)/test.profraw" test.rs
src/test/run-make/pgo-gen/test.rs src/test/run-make-fulldeps/pgo-gen/test.rs
0 commit comments