Skip to content

[wasm] Use lightweight marshal for enums #118991

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

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

maraf
Copy link
Member

@maraf maraf commented Aug 22, 2025

Based on MinimalMarshalingTypeCompatibilityProvider.cs we mark enums as marshallable by lightweight marshaller on build.
We were missing enums when checking for supported types in marshal-ilgen-stub.c on runtime.

Fixes #115780

@maraf maraf added this to the 11.0.0 milestone Aug 22, 2025
@maraf maraf self-assigned this Aug 22, 2025
@maraf maraf added arch-wasm WebAssembly architecture area-Interop-mono labels Aug 22, 2025
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-wasm WebAssembly architecture area-Interop-mono
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Blazor WebAssembly - ZipArchiveEntry.Open causes unexpected termination at runtime in published app on .NET 10 Preview 3 and 4
1 participant