Skip to content

Commit 9b3db34

Browse files
committed
Warn about Visual Studio Code branding confusion
1 parent 2d46584 commit 9b3db34

File tree

1 file changed

+3
-2
lines changed
  • compiler/rustc_codegen_ssa/src/back

1 file changed

+3
-2
lines changed

Diff for: compiler/rustc_codegen_ssa/src/back/link.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -979,9 +979,10 @@ fn link_natively<'a>(
979979
but `link.exe` was not found",
980980
);
981981
sess.note_without_error(
982-
"please ensure that VS 2013, VS 2015, VS 2017, VS 2019 or VS 2022 \
983-
was installed with the Visual C++ option",
982+
"please ensure that Visual Studio 2017 or later, or Build Tools \
983+
for Visual Studio were installed with the Visual C++ option.",
984984
);
985+
sess.note_without_error("VS Code is a different product, and is not sufficient.");
985986
}
986987
sess.abort_if_errors();
987988
}

0 commit comments

Comments
 (0)