Skip to content

[wasm] Allow enums in unmanaged callbacks. - #61377

Merged
lewing merged 1 commit into
dotnet:mainfrom
vargaz:pinvoke-enum
Nov 10, 2021
Merged

[wasm] Allow enums in unmanaged callbacks.#61377
lewing merged 1 commit into
dotnet:mainfrom
vargaz:pinvoke-enum

Conversation

@vargaz

Copy link
Copy Markdown
Contributor

Fixes#61144.

@ghost

ghost commented Nov 9, 2021

Copy link
Copy Markdown

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@vargaz
vargaz requested a review from radicalNovember 9, 2021 17:34
@lambdageek

Copy link
Copy Markdown
Member

I think we should fix this in 6.0.x servicing @lewing

@radical

Copy link
Copy Markdown
Member

I will try to add tests for this in https://github.com/dotnet/runtime/blob/main/src/tests/BuildWasmApps/Wasm.Build.Tests/PInvokeTableGeneratorTests.cs .

@lewing
lewing merged commit a8cc1d0 into dotnet:mainNov 10, 2021
@lewing

Copy link
Copy Markdown
Member

/backport to release/6.0

@github-actions

Copy link
Copy Markdown
Contributor

Started backporting to release/6.0: https://github.com/dotnet/runtime/actions/runs/1442281416

Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enums are not considered blittable by Emscripten / Blazor WASM AOT

4 participants

@vargaz@lambdageek@radical@lewing