Skip to content

Commit

Permalink
Warn about Visual Studio Code branding confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
kornelski committed Oct 6, 2022
1 parent 2d46584 commit 9b3db34
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions compiler/rustc_codegen_ssa/src/back/link.rs
Original file line number Diff line number Diff line change
Expand Up @@ -979,9 +979,10 @@ fn link_natively<'a>(
but `link.exe` was not found",
);
sess.note_without_error(
"please ensure that VS 2013, VS 2015, VS 2017, VS 2019 or VS 2022 \
was installed with the Visual C++ option",
"please ensure that Visual Studio 2017 or later, or Build Tools \
for Visual Studio were installed with the Visual C++ option.",
);
sess.note_without_error("VS Code is a different product, and is not sufficient.");
}
sess.abort_if_errors();
}
Expand Down

0 comments on commit 9b3db34

Please sign in to comment.