diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2019-07-03 09:59:10 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-03 09:59:10 -0400 |
| commit | 7d5d59160a5e1f535ddfebb6cee22839cd253673 (patch) | |
| tree | 13e58d6d69bc1468bdd189c16e4f4ca5173dbf8d /src/librustc_codegen_ssa | |
| parent | 8301de16dafc81a3b5d94aa0707ad83bdb56a599 (diff) | |
| parent | 8339211809987bcdc4a627214f03e4479182bfc2 (diff) | |
| download | rust-7d5d59160a5e1f535ddfebb6cee22839cd253673.tar.gz rust-7d5d59160a5e1f535ddfebb6cee22839cd253673.zip | |
Rollup merge of #62021 - crlf0710:msvc_link_output_improve, r=alexcrichton
MSVC link output improve Resolves #35785. However i haven't come up with a idea to add test case for this :( r? @retep998
Diffstat (limited to 'src/librustc_codegen_ssa')
| -rw-r--r-- | src/librustc_codegen_ssa/back/link.rs | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/librustc_codegen_ssa/back/link.rs b/src/librustc_codegen_ssa/back/link.rs index e3d297e7862..707b7cae16c 100644 --- a/src/librustc_codegen_ssa/back/link.rs +++ b/src/librustc_codegen_ssa/back/link.rs @@ -653,10 +653,14 @@ fn link_natively<'a, B: ArchiveBuilder<'a>>(sess: &'a Session, linker_error.emit(); if sess.target.target.options.is_like_msvc && linker_not_found { - sess.note_without_error("the msvc targets depend on the msvc linker \ - but `link.exe` was not found"); - sess.note_without_error("please ensure that VS 2013, VS 2015 or VS 2017 \ - was installed with the Visual C++ option"); + sess.note_without_error( + "the msvc targets depend on the msvc linker \ + but `link.exe` was not found", + ); + sess.note_without_error( + "please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 \ + was installed with the Visual C++ option", + ); } sess.abort_if_errors(); } |
