about summary refs log tree commit diff
path: root/src/test/run-make/pretty-expanded
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/pretty-expanded
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/pretty-expanded')
-rw-r--r--src/test/run-make/pretty-expanded/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/run-make/pretty-expanded/Makefile b/src/test/run-make/pretty-expanded/Makefile
index dda441ae3d1..7a8dc8d871c 100644
--- a/src/test/run-make/pretty-expanded/Makefile
+++ b/src/test/run-make/pretty-expanded/Makefile
@@ -1,4 +1,5 @@
 -include ../tools.mk
 
 all:
-	$(RUSTC) -o $(TMPDIR)/input.expanded.rs --pretty=expanded input.rs
+	$(RUSTC) -o $(TMPDIR)/input.expanded.rs -Z unstable-options \
+		--pretty=expanded input.rs