Skip to content

Commit 34d4378

Browse files
committed
fix run-make/ tests now flowgraph printing has moved to the unstable --xpretty option.
1 parent bf2f84b commit 34d4378

File tree

1 file changed

+1
-1
lines changed
  • src/test/run-make/graphviz-flowgraph

1 file changed

+1
-1
lines changed

src/test/run-make/graphviz-flowgraph/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ $(TMPDIR)/%.pp: %.rs
2828

2929
$(TMPDIR)/%.dot: %.rs
3030
$(eval $(call FIND_LAST_BLOCK,$<))
31-
$(RUSTC_LIB) --pretty flowgraph=$(LASTBLOCKNUM_$<) $< -o $@.tmp
31+
$(RUSTC_LIB) -Z unstable-options --xpretty flowgraph=$(LASTBLOCKNUM_$<) $< -o $@.tmp
3232
cat $@.tmp | sed -e 's@ (id=[0-9]*)@@g' \
3333
-e 's@\[label=""\]@@' \
3434
-e 's@digraph [a-zA-Z0-9_]* @digraph block @' \

0 commit comments

Comments
 (0)