Uh oh!
There was an error while loading. Please reload this page.
[browser][coreCLR] instantiate webCIL in corerun - #125983
Conversation
Tagging subscribers to this area: @agocke, @jeffschwMSFT, @elinor-fung |
There was a problem hiding this comment.
Pull request overview
This PR updates the WebAssembly (browser) corerun host so it can load WebCIL by instantiating a .wasm “webcil” module and returning the extracted IL payload to CoreCLR via the external assembly probe hook.
Changes:
- Add a browser-only external assembly probe path in
corerun.cppand enable the probe by default underTARGET_BROWSER. - Implement
BrowserHost_ExternalAssemblyProbeinlibCorerun.jsto locate a sibling.wasm, instantiate it, and return the extracted WebCIL payload pointer/size to the runtime.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
src/coreclr/hosts/corerun/wasm/libCorerun.js | Adds JS-side WebCIL probing/instantiation and payload extraction for the external assembly probe. |
src/coreclr/hosts/corerun/corerun.cpp | Enables and wires up an external probe in browser builds, delegating to JS for WebCIL. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
pavelsavara
commented
Mar 24, 2026
/ba-g infra issues |
Fixes#125850