fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1# needs-profiler-support 2# ignore-cross-compile 3 4include ../tools.mk 5 6all: 7 $(RUSTC) -g -Z profile test.rs 8 $(call RUN,test) || exit 1 9 [ -e "$(TMPDIR)/test.gcno" ] || (echo "No .gcno file"; exit 1) 10 [ -e "$(TMPDIR)/test.gcda" ] || (echo "No .gcda file"; exit 1) 11 $(RUSTC) -g -Z profile -Z profile-emit=$(TMPDIR)/abc/abc.gcda test.rs 12 $(call RUN,test) || exit 1 13 [ -e "$(TMPDIR)/abc/abc.gcda" ] || (echo "gcda file not emitted to defined path"; exit 1)