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

[browser] fix bit width from 32 to 8 for managed boolean #100304

Merged
merged 5 commits into from
Mar 27, 2024

Conversation

pavelsavara
Copy link
Member

No description provided.

@pavelsavara pavelsavara added arch-wasm WebAssembly architecture area-System.Runtime.InteropServices.JavaScript os-browser Browser variant of arch-wasm labels Mar 26, 2024
@pavelsavara pavelsavara added this to the 9.0.0 milestone Mar 26, 2024
@pavelsavara pavelsavara requested review from kg and maraf March 26, 2024 19:05
@pavelsavara pavelsavara self-assigned this Mar 26, 2024
Copy link
Contributor

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

@@ -89,7 +89,7 @@ export function is_args_exception(args: JSMarshalerArguments): boolean {
export function is_receiver_should_free(args: JSMarshalerArguments): boolean {
if (!WasmEnableThreads) return false;
mono_assert(args, "Null args");
return getB32(<any>args + JSMarshalerArgumentOffsets.ReceiverShouldFree);
return getB8(<any>args + JSMarshalerArgumentOffsets.ReceiverShouldFree);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hope this is what causes #96546

@pavelsavara pavelsavara marked this pull request as ready for review March 26, 2024 19:10
@lewing lewing merged commit 3a447e4 into dotnet:main Mar 27, 2024
95 of 98 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Apr 26, 2024
@pavelsavara pavelsavara deleted the browser_U8_bool branch September 2, 2024 15:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-System.Runtime.InteropServices.JavaScript os-browser Browser variant of arch-wasm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants