Skip to content

Conversation

@SingleAccretion
Copy link
Contributor

@SingleAccretion SingleAccretion commented Nov 4, 2025

Notable build system changes:

  1. Not included in clr.alljits yet. Build with clr.wasmjit.

Notable factoring choices:

  1. Introduce some new target defines for features which WASM won't need,
    like fixed size register mask support and GCInfo based on code metadata.
  2. For this initial commit, the amount of changes has been intentionally
    minimized. In the future, more things will be moved around and ifdefed out.

Contributes to #121208.

@github-actions github-actions bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Nov 4, 2025
@SingleAccretion SingleAccretion marked this pull request as draft November 4, 2025 16:55
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Nov 4, 2025
@SingleAccretion SingleAccretion changed the title [RuiJit/WASM] Create a WASM-targeting RyuJit [RuyJit/WASM] Create a WASM-targeting RyuJit Nov 4, 2025
@SingleAccretion SingleAccretion changed the title [RuyJit/WASM] Create a WASM-targeting RyuJit [RyuJit/WASM] Create a WASM-targeting RyuJit Nov 4, 2025
@SingleAccretion SingleAccretion force-pushed the WasmJit branch 2 times, most recently from 1ceabfa to e47623b Compare November 4, 2025 20:08
Alternatively, we can just go ahead and add it to alljits right now.
Notable build system changes:
 1) Not included in clr.alljits yet. Build with clr.wasmjit.

Notable factoring choices:
 1) Introduce some new target defines for features which WASM won't need,
    like fixed size register mask support and GCInfo based on code metadata.
 2) For this initial commit, the amount of changes has been intentionally
    minimized. In the future, more things will be moved around and ifdefed
    out.
@SingleAccretion SingleAccretion marked this pull request as ready for review November 5, 2025 00:44
@SingleAccretion
Copy link
Contributor Author

@dotnet/jit-contrib

@jkotas jkotas added the arch-wasm WebAssembly architecture label Nov 5, 2025
@dotnet-policy-service
Copy link
Contributor

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

@AndyAyersMS
Copy link
Member

Merged up to refresh the CI...

Copy link
Member

@AndyAyersMS AndyAyersMS left a comment

Choose a reason for hiding this comment

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

Looked again and think this is good enough for us to get started.

@kg
Copy link
Member

kg commented Nov 12, 2025

Is it possible the SOS test failures on the cDAC lane are related to this?

@SingleAccretion
Copy link
Contributor Author

Is it possible the SOS test failures on the cDAC lane are related to this?

It seems hard to see how that's the case, however, there is also not much to go on.

The failure happens during dotnet/diagnostics tests:

image

It seems we have another recent run failing in a similar manner (https://dev.azure.com/dnceng-public/public/_build/results?buildId=1200546&view=results):

Copy link
Member

@kg kg left a comment

Choose a reason for hiding this comment

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

Thank you for all your hard work on this!

@AndyAyersMS
Copy link
Member

One more merge now that CI is probably in better shape.

@AndyAyersMS
Copy link
Member

CI is happier overall but we crossed an GUID update and the new SPMI collection is lagging. So will hold off until we can get that running again.

@AndyAyersMS AndyAyersMS merged commit c84d65d into dotnet:main Nov 14, 2025
169 of 179 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arch-wasm WebAssembly architecture area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants