File tree 1 file changed +4
-10
lines changed
src/test/run-make-fulldeps/coverage-reports
1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -87,20 +87,14 @@ endif
87
87
% : $(SOURCEDIR ) /lib/% .rs
88
88
# Compile the test library with coverage instrumentation
89
89
$(RUSTC ) $(SOURCEDIR ) /lib/$@ .rs \
90
- $$( grep -q '^\/\/ require-rust-edition-2018' $(SOURCEDIR ) /lib/$@ .rs && \
91
- echo " --edition=2018" \
92
- ) \
93
- --crate-type rlib \
94
- -Zinstrument-coverage
90
+ $$( grep -q '^\/\/ require-rust-edition-2018' $(SOURCEDIR ) /lib/$@ .rs && echo "--edition=2018" ) \
91
+ --crate-type rlib -Zinstrument-coverage
95
92
96
93
% : $(SOURCEDIR ) /% .rs
97
94
# Compile the test program with coverage instrumentation
98
95
$(RUSTC ) $(SOURCEDIR ) /$@ .rs \
99
- $$( grep -q '^\/\/ require-rust-edition-2018' $(SOURCEDIR ) /$@ .rs && \
100
- echo " --edition=2018" \
101
- ) \
102
- -L " $( TMPDIR) " \
103
- -Zinstrument-coverage
96
+ $$( grep -q '^\/\/ require-rust-edition-2018' $(SOURCEDIR ) /$@ .rs && echo "--edition=2018" ) \
97
+ -L " $( TMPDIR) " -Zinstrument-coverage
104
98
105
99
# Run it in order to generate some profiling data,
106
100
# with `LLVM_PROFILE_FILE=<profdata_file>` environment variable set to
You can’t perform that action at this time.
0 commit comments