diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2019-07-03 09:59:13 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-03 09:59:13 -0400 |
| commit | 25640092c7ca5f0e980d24f2024fab8dd4ae718e (patch) | |
| tree | c247a566a78966a68b86500a8799e7b5a4f5dced /src/rustllvm/RustWrapper.cpp | |
| parent | 619df2e0c9b8b8190df4cc4a14a57ee7696b06ed (diff) | |
| parent | 9d798b71988fd70e9f8147c48edd13a9d8555a32 (diff) | |
| download | rust-25640092c7ca5f0e980d24f2024fab8dd4ae718e.tar.gz rust-25640092c7ca5f0e980d24f2024fab8dd4ae718e.zip | |
Rollup merge of #62128 - ehuss:extra-filename-warning, r=matthewjasper
Adjust warning of -C extra-filename with -o. If `--emit` includes multiple unnamed outputs, and `-o` was specified, and `-C extra-filename` was specified, the compiler would warn that `-C extra-filename` was ignored, but this is not true. The "adapting" of the filenames includes the extra-filename info. Since this is a little convoluted and hard to follow, here is a little chart to summarize when running with `rustc foo.rs -o xyz -C extra-filename=asdf` `--emit` | Result ---------|-------- `link` | `xyz` (extra-filename ignored) `link,dep-info` | `xyzasdf`, `xyzasdf.d` (this PR removes the incorrect warning) As to whether or not this behavior is the best choice is another question.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
