Skip to content

NativeAOT support for WASM #132798

Open
0 of 1 issue completed
Open

Description

@jtschuster

Tracking issue for NativeAOT support for WASM.

  • Emit Linking sections (see https://github.com/WebAssembly/tool-conventions/blob/main/Linking.md)
  • Implement AssemblyStubNodes for Wasm #132812
  • Put any hard-coded portable entry point code behind a check for the JIT flag.
  • Determine if CLR WASM exception handling and GC will work for NativeAOT. Find all incompatibilities if it will not work.
  • Unblock the NativeAOT WASM CoreLib build.
    • Create stubbed out CoreLib
  • Unblock the NativeAOT WASM runtime build.
  • Validate [JSExport] experience in NativeAOT
  • Align size and offset field/property/method types on binary format interfaces and types to align to the WASM32 spec (for example, WasmDataSegments should use uint for size and reloc offsets into segments, and modules can be larger than uint.MaxValue, so section offsets should use long or ulong).
  • Find a decent benchmark to compare perf and size to the LLVM experimental branch (low priority).

Related resources:

Sub-issues

Sub-issues

0 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. added this to the 12.0.0 milestone on Aug 26, 2026
  2. dotnet-policy-service commented on Aug 26, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @agocke, @dotnet/ilc-contrib
    See info in area-owners.md if you want to be subscribed.

  3. dotnet-policy-service commented on Aug 26, 2026

    @dotnet-policy-service
    Contributor

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

  4. added theissue type on Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-wasmarea-NativeAOT-coreclr

    Type

    Projects

    • Status
      No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions