Repository navigation
[wasm] Fix debug build of AOT cross compiler - #122018
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes the debug build of the AOT cross compiler for WebAssembly on Windows by removing a property that was forcing Release configuration. This allows the debug cross compiler to correctly link against the debug C runtime instead of the release runtime.
Key Changes
- Removes the
_ForceReleaseproperty that was conditionally forcing Release builds for Windows + wasm + Debug configurations - This enables proper debug build behavior including
_DEBUGpreprocessor definitions andCMAKE_BUILD_TYPE=Debug
akoeplinger
approved these changes
Nov 27, 2025
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Make debug version of cross compiler to link debug C runtime
reverts #50418
related #113536 pavelsavara@ee4c4d9#diff-96c540b134a40045501aeaaec0e57f7365c649e88e70dd70e65924704fd29585R16