Closed
Description
Inspired by this Reddit comment.
Right now, when rustc can't find the linker, it produces a pretty generic error message that explains what went wrong, but doesn't explain how to fix it. A solution might be to extend the error message with something like "Do you have Visual C++ Build Tools installed? Check http://doc.rust-lang.org/some/place for more info." and provide a page explaining what exactly is missing and how to get it somewhere in the docs.
Metadata
Metadata
Assignees
Labels
Area: Messages for errors, warnings, and lintsArea: linking into static, shared libraries and binariesCategory: This is a bug.Call for participation: Help is requested to fix this issue.Operating system: WindowsToolchain: MSVC, Operating system: WindowsRelevant to the compiler team, which will review and decide on the PR/issue.