docs: cxx_runtime was inert on MSVC until 2026.8.16, and upgrading is silent - #450
Merged
Merged
Conversation
… silent The MSVC section describes today's behaviour correctly and says nothing about the fact that it is NEW. Through 2026.8.15 the key reported "not implemented for the MSVC runtime yet" and every value fell back to /MD; since 2026.8.16 (#422) it selects the CRT model. So a manifest carrying `cxx_runtime = "self-contained"` from that era switches from /MD to /MT on upgrade — silently, because the value was always spelled correctly and always accepted. /MT is a different CRT model rather than a stricter version of the same one. Not hypothetical: found while reviewing xrgui's mcpp manifest, which carried exactly that value, set at a time when it did nothing, with a comment explaining that it was a no-op.
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.
The MSVC section of
05-mcpp-tomldescribes today's behaviour correctly and says nothing about the fact that it is new.Through 2026.8.15 the key reported
not implemented for the MSVC runtime yetand every value fell back to/MD; since 2026.8.16 (#422) it selects the CRT model. So a manifest carryingcxx_runtime = "self-contained"from that era switches from /MD to /MT on upgrade — silently, because the value was always spelled correctly and always accepted, and/MTis a different CRT model rather than a stricter version of the same one.Not hypothetical. Found while reviewing xrgui's mcpp manifest, which carried exactly that value — set while the key did nothing, with a comment explaining that it was a no-op:
That project wants
/MD(it matches its xmake build), so the value there is being corrected tohost-coupledon its side. This adds the note for everyone else in the same position.Docs only, en + zh.