Skip to content

Commit a75fc0d

Browse files
SiegeLordExSiegeLord
authored andcommitted
Make the dep-info-no-analysis regex more robust on Windows.
1 parent 64cca3a commit a75fc0d

File tree

1 file changed

+1
-1
lines changed
  • src/test/run-make/dep-info-no-analysis

1 file changed

+1
-1
lines changed

src/test/run-make/dep-info-no-analysis/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
all:
44
$(RUSTC) -o $(TMPDIR)/input.dd -Z no-analysis --emit dep-info input.rs
5-
sed -i "s@$(TMPDIR)/@@g" $(TMPDIR)/input.dd
5+
sed -i "s/^.*input.dd/input.dd/g" $(TMPDIR)/input.dd
66
diff -u $(TMPDIR)/input.dd input.dd

0 commit comments

Comments
 (0)