Update Compile-time Requirements to add info about clang-cl.exe#1693
Merged
NobodyXu merged 3 commits intorust-lang:mainfrom Mar 26, 2026
Merged
Conversation
Co-authored-by: Jiahao XU <[email protected]>
NobodyXu
reviewed
Mar 26, 2026
NobodyXu
approved these changes
Mar 26, 2026
Contributor
NobodyXu
left a comment
There was a problem hiding this comment.
Thank you!
I've done another minor update as the line is to long
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In #1516, I added
prefer_clang_cl_over_msvc. I wanted to test the scenario where Visual Studio is installed, but not the Clang build tools, to see how things would behave. The result is this expected error:While the docs at https://docs.rs/cc/latest/cc/#compile-time-requirements are pretty clear already, I think it can add some value if we'd add some specific instructions for the case where
clang-cl.exeisn't found.My intention is to add a "sub-bullet" under the main MSVC bullet, but I'm not sure how this will render. Let me know if you think I should word or structure things differently.