Skip to content

Conversation

lambdageek
Copy link
Member

Foward port changes from release/7.0 #75171 that were not included in main #75162

  • when building the InteropServices.JavaScript library, enable threading if MonoWasmBuildVariant is set appropriately. One consequence is that the runtime will (correctly) install the browser synchronization context on the main thread.

  • for workload build testing, unset MonoWasmBuildVariant when creating the non-threaded runtime

Foward port changes from `release/7.0` dotnet#75171
that were not included in `main` dotnet#75162

- when building the InteropServices.JavaScript library, enable
threading if MonoWasmBuildVariant is set appropriately.  One
consequence is that the runtime will (correctly) install the browser
synchronization context on the main thread.

- for workload build testing, unset MonoWasmBuildVariant when creating
the non-threaded runtime
@ghost
Copy link

ghost commented Sep 8, 2022

Tagging subscribers to this area: @dotnet/area-infrastructure-libraries
See info in area-owners.md if you want to be subscribed.

Issue Details

Foward port changes from release/7.0 #75171 that were not included in main #75162

  • when building the InteropServices.JavaScript library, enable threading if MonoWasmBuildVariant is set appropriately. One consequence is that the runtime will (correctly) install the browser synchronization context on the main thread.

  • for workload build testing, unset MonoWasmBuildVariant when creating the non-threaded runtime

Author: lambdageek
Assignees: -
Labels:

area-Infrastructure-libraries

Milestone: -

@lambdageek lambdageek added arch-wasm WebAssembly architecture and removed area-Infrastructure-libraries labels Sep 8, 2022
@ghost
Copy link

ghost commented Sep 8, 2022

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

Issue Details

Foward port changes from release/7.0 #75171 that were not included in main #75162

  • when building the InteropServices.JavaScript library, enable threading if MonoWasmBuildVariant is set appropriately. One consequence is that the runtime will (correctly) install the browser synchronization context on the main thread.

  • for workload build testing, unset MonoWasmBuildVariant when creating the non-threaded runtime

Author: lambdageek
Assignees: lambdageek
Labels:

arch-wasm, area-Build-mono

Milestone: -

@lambdageek lambdageek requested a review from radical September 8, 2022 19:15
@lambdageek
Copy link
Member Author

Linux llvmaot failure is not related - this PR is only changing the wasm build

@lambdageek lambdageek merged commit ac092cf into dotnet:main Sep 12, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Oct 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-wasm WebAssembly architecture area-Build-mono

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants