Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release/8.0-staging] [wasm] Suppress export name minification #102155

Conversation

maraf
Copy link
Member

@maraf maraf commented May 13, 2024

Backport of #96951 to release/8.0-staging

Customer Impact

Fixes customer reported issue #101629. It is a regression from .NET 7.

This fix ensures that wasm exports are not minified regardless of other emscripten flags.

It is a regression from .NET 7. The MSBuild property mentioned in the workaround has a default value for Release configuration that is important in AOT mode (meaning the user would have to add the value with condition to get the same behavior).

It is not related to SkiaSharp, but to use of Jiterpreter in combination with native build (AOT, referencing unmanaged code, changing emscripten parameters, etc).

Testing

Manual test.

Risk

Low.

@maraf maraf added arch-wasm WebAssembly architecture area-Build-mono os-browser Browser variant of arch-wasm labels May 13, 2024
@maraf maraf added this to the 8.0.x milestone May 13, 2024
@maraf maraf requested review from kg and pavelsavara May 13, 2024 13:17
@maraf maraf self-assigned this May 13, 2024
@maraf maraf requested review from radical and lewing as code owners May 13, 2024 13:17
Copy link
Contributor

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

@maraf maraf added Servicing-consider Issue for next servicing release review Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels May 14, 2024
@maraf
Copy link
Member Author

maraf commented May 16, 2024

Approved via email

@maraf maraf merged commit 49c1cf3 into dotnet:release/8.0-staging May 16, 2024
33 of 42 checks passed
@maraf maraf deleted the WasmSuppressExportNameMinificationBackport branch May 16, 2024 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-wasm WebAssembly architecture area-Build-mono os-browser Browser variant of arch-wasm Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants