Skip to content

Conversation

danielframpton
Copy link
Contributor

Currently, cc-rs always returns the latest version of the msvc tools it can find, including preview versions.

For scenarios (such as we have at Microsoft) where we want to ensure we are building with a specific version of the tools, this change makes it possible to request a specific version of the msvc tools even if a developer has other versions on their machine.

Copy link
Collaborator

@NobodyXu NobodyXu left a comment

Choose a reason for hiding this comment

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

Thanks, can we have some doc for the env var in find-msvc-tools, and in cc refer to find-msvc-tools for possible env var?

@danielframpton
Copy link
Contributor Author

Thanks @NobodyXu. I added a doc comment and made the change you suggested; please let me know if there was something else you were looking for in terms of comments.

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.

2 participants