Skip to content

Commit 1e9e4b0

Browse files
committed
Add mention of VS 2019 in link error output.
1 parent dbec74f commit 1e9e4b0

File tree

1 file changed

+8
-4
lines changed
  • src/librustc_codegen_ssa/back

1 file changed

+8
-4
lines changed

src/librustc_codegen_ssa/back/link.rs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -630,10 +630,14 @@ fn link_natively<'a, B: ArchiveBuilder<'a>>(sess: &'a Session,
630630
linker_error.emit();
631631

632632
if sess.target.target.options.is_like_msvc && linker_not_found {
633-
sess.note_without_error("the msvc targets depend on the msvc linker \
634-
but `link.exe` was not found");
635-
sess.note_without_error("please ensure that VS 2013, VS 2015 or VS 2017 \
636-
was installed with the Visual C++ option");
633+
sess.note_without_error(
634+
"the msvc targets depend on the msvc linker \
635+
but `link.exe` was not found",
636+
);
637+
sess.note_without_error(
638+
"please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 \
639+
was installed with the Visual C++ option",
640+
);
637641
}
638642
sess.abort_if_errors();
639643
}

0 commit comments

Comments
 (0)