Skip to content

[Browser] Remove type-map forwarding bridge after ILLink SDK flow #137651

Open

Description

@pavelsavara

Description

Remove the temporary Browser type-map argument-forwarding bridge after the ILLink execution-time fix introduced by #136924 has flowed into every supported .NET SDK used by Browser builds.

ILLink currently forwards TypeMapEntryAssembly during target evaluation. Browser SDK imports can set it later, leaving library-mode publish without --typemap-entry-assembly. Executables can mask this through their managed entry point; libraries have no such fallback.

Cleanup

  • Verify supported SDKs include ILLink's execution-time _ConfigureTypeMapEntryAssembly forwarding.
  • Remove the _WasmConfigureTypeMapEntryAssembly compatibility target in BrowserWasmApp.TypeMap.targets. Code is marked WASM-TODO against this issue.
  • Retain the shared file, imports, and package entries while they carry the default TypeMapEntryAssembly, runtime configuration, and JSExport bootstrap descriptor: those are functional SDK-owned configuration, independent of workloads and native relinking, not the temporary bridge.
  • Keep ILLink's permanent forwarding and LibraryMode regression coverage.

Validation

Verify library build/publish on CoreCLR and Mono, including no-workload/packaged SDK and in-tree/local-build paths. A trimmed library publish must send exactly one --typemap-entry-assembly naming the library to ILLink and successfully invoke its JSExports without a managed entry point.

Note

This issue was generated with GitHub Copilot.

Activity

  1. added
    untriaged
    on Nov 16, 2026
  2. added
    area-Tools-ILLink
    on Nov 16, 2026
  3. dotnet-policy-service commented on Nov 16, 2026

    @dotnet-policy-service
    Contributor

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

  4. self-assigned this
    on Nov 16, 2026
  5. added this to the 12.0.0 milestone on Nov 16, 2026
  6. removed
    untriaged
    on Nov 16, 2026
  7. added
    arch-wasm
    on Nov 16, 2026
  8. dotnet-policy-service commented on Nov 16, 2026

    @dotnet-policy-service
    Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

arch-wasmarea-Tools-ILLink

Type

No type

Projects

  • Status
    No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions