Skip to content

Add license note for VS Build Tools #2989

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 17, 2022
Merged

Conversation

ChrisDenton
Copy link
Member

@ChrisDenton ChrisDenton commented May 12, 2022

This PR adds a note about the Visual Studio Build Tools needing a Visual Studio Community, Pro or Enterprise license.

A future improvement might be to create an expanded section on the different options. Perhaps that walks through the requirements and the installation process.

Fixes #2867

Visual Studio 2013 (or later) or the Visual C++ Build Tools 2019][vs] so
`rustc` can use its linker. For Visual Studio, make sure to check the "C++
Visual Studio 2013 (or later)][vs] so `rustc` can use its linker and libraries.
Visual Studio Community is free for free for students, open-source contributors,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Visual Studio Community is free for free for students, open-source contributors,
Visual Studio Community is free for students, open-source contributors,

I'm a little uncomfortable with this sentence explaining its terms, and I personally would just leave it out. The terms are quite a bit more complex (such as being free for any open-source work, visual studio extensions, drivers, academic research, teaching, non-enterprise up to 5 users, etc.).

Also, I'm not entirely sure I understand the argument about removing the link to Build Tools. Microsoft themselves recommends it.

Perhaps, instead of this change, we can add a note similar to the wording on Microsoft's installation page that reminds the user needs a valid license?

Copy link
Member Author

@ChrisDenton ChrisDenton May 12, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That part is roughly the same as one from the page you linked ("A Community edition is available—it's free for students, open-source contributors, and individuals").

I was worried that saying "this requires a license" on it own would imply it always requires payment. But for sure I could just revert this and add the note about needing license.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I've change this PR so that it simply notes that the Build Tools have additional license requirements.

@ChrisDenton ChrisDenton changed the title Don't explicitly recommend VS Build Tools Add license note for VS Build Tools May 12, 2022
@thejpster
Copy link
Contributor

Thank you for adding this :)

Co-authored-by: Jonathan 'theJPster' Pallant <[email protected]>
Copy link
Contributor

@ehuss ehuss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@kinnison kinnison merged commit 0b435ea into rust-lang:master May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rust for Windows recommends installing a tool (Visual Studio Build Tools) that needs a licence
4 participants