Repository navigation
fix: Update WebGL 4GB support with enhanced uno-config.js environment variable checks - #1064
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR fixes 4GB WebAssembly/WebGL support by ensuring Emscripten linker flags are correctly forwarded into ShellTask_v0, restoring detection of -s MAXIMUM_MEMORY=4GB so the bootstrap can expose the heap ceiling to the hosted app via uno-config.js.
Changes:
- Updates MSBuild wiring to pass
EmccFlagsas a property value intoShellTask_v0(instead of an empty item list), enabling correct 4GB flag detection. - Extends the WebGL 4GB test script to validate that
uno-config.jsincludes (and omits when gated off)UNO_BOOTSTRAP_EMSCRIPTEN_MAXIMUM_MEMORY=4GB.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/Uno.Wasm.Tests.WebGL4Gb/test-webgl-4gb.sh | Adds assertions verifying uno-config.js exposes (and gates) the 4GB maximum memory environment variable. |
| src/Uno.Wasm.Bootstrap/build/Uno.Wasm.Bootstrap.targets | Fixes EmccFlags forwarding to ShellTask_v0 by passing the property value rather than an item list. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://white-river-0087b630f-1064.eastus2.1.azurestaticapps.net |
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.
No description provided.