We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97842f5 commit 15e5cf3Copy full SHA for 15e5cf3
src/test/run-make/codegen-options-parsing/Makefile
@@ -25,7 +25,7 @@ all:
25
26
# Should not link dead code...
27
$(RUSTC) -Z print-link-args dummy.rs 2>&1 | \
28
- grep -e '--gc-sections\|-dead_strip\|/OPT:REF,ICF'
+ grep -e '--gc-sections' -e '-dead_strip' -e '/OPT:REF,ICF'
29
# ... unless you specifically ask to keep it
30
$(RUSTC) -Z print-link-args -C link-dead-code dummy.rs 2>&1 | \
31
- (! grep -e '--gc-sections\|-dead_strip\|/OPT:REF,ICF')
+ (! grep -e '--gc-sections' -e '-dead_strip' -e '/OPT:REF,ICF')
0 commit comments