diff options
| author | Michael Woerister <michaelwoerister@posteo> | 2018-01-08 12:30:52 +0100 |
|---|---|---|
| committer | Michael Woerister <michaelwoerister@posteo> | 2018-01-08 12:30:52 +0100 |
| commit | 94f3037f4bc2f18ac1c427e145928cc766b573fe (patch) | |
| tree | 5ccc30c8bb23edd92ade28fdb63618487c05555b /src/tools/compiletest | |
| parent | 795594cd8ce3272bd6b1ebf7e1b7f33a5a86e3ac (diff) | |
| download | rust-94f3037f4bc2f18ac1c427e145928cc766b573fe.tar.gz rust-94f3037f4bc2f18ac1c427e145928cc766b573fe.zip | |
Shorten names of some compiler generated artifacts.
Diffstat (limited to 'src/tools/compiletest')
| -rw-r--r-- | src/tools/compiletest/src/runtest.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index dbeee39e606..774733e7068 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -1520,6 +1520,10 @@ impl<'test> TestCx<'test> { rustc.args(&["-Z", "incremental-queries"]); } + if self.config.mode == CodegenUnits { + rustc.args(&["-Z", "human_readable_cgu_names"]); + } + match self.config.mode { CompileFail | ParseFail | Incremental => { // If we are extracting and matching errors in the new |
