about summary refs log tree commit diff
path: root/src/test/run-make/graphviz-flowgraph
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-01-20 10:57:10 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-01-20 11:16:26 -0800
commit953f294ea30253bb5578e3c895d17fcc97c20dce (patch)
treecc42fa7039e21d01ef1dd036a12626526675e510 /src/test/run-make/graphviz-flowgraph
parentffd8cb79a2d3da6629c8f54ef9ea9c29bd92fc9e (diff)
downloadrust-953f294ea30253bb5578e3c895d17fcc97c20dce.tar.gz
rust-953f294ea30253bb5578e3c895d17fcc97c20dce.zip
rustc: Remove deprecated flags
This commit removes a number of deprecated flags from the compiler:

* opt-level => -C opt-level
* debuginfo => -C debuginfo
* print-crate-name => --print crate-name
* print-file-name => --print file-names
* no-trans => -Z no-trans
* no-analysis => -Z no-analysis
* parse-only => -Z parse-only
* dep-info => --emit dep-info

This commit also moves the --pretty flag behind `-Z unstable-options` as the
pretty printer will likely not be stable for 1.0

cc #19051
Diffstat (limited to 'src/test/run-make/graphviz-flowgraph')
-rw-r--r--src/test/run-make/graphviz-flowgraph/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-make/graphviz-flowgraph/Makefile b/src/test/run-make/graphviz-flowgraph/Makefile
index 4ac8cb7ae1d..1533729de94 100644
--- a/src/test/run-make/graphviz-flowgraph/Makefile
+++ b/src/test/run-make/graphviz-flowgraph/Makefile
@@ -13,7 +13,7 @@ all: $(patsubst %.rs,$(TMPDIR)/%.check,$(FILES))
 RUSTC_LIB=$(RUSTC) --crate-type=lib
 
 define FIND_LAST_BLOCK
-LASTBLOCKNUM_$(1) := $(shell $(RUSTC_LIB) --pretty=expanded,identified $(1) \
+LASTBLOCKNUM_$(1) := $(shell $(RUSTC_LIB) -Z unstable-options --pretty=expanded,identified $(1) \
 			 | grep block
 			 | tail -1
 			 | sed -e 's@.*/\* block \([0-9]*\) \*/.*@\1@')