Skip to content

Conversation

pavelsavara
Copy link
Member

@pavelsavara pavelsavara commented Sep 13, 2025

  • draft of src\native\corehost\browser\
    • to statically link: coreclr_static, Browser.Native-Static, System.Native-Static, System.Globalization.Native-Static, System.IO.Compression.Native-Static
    • implement pinvoke_override for static libraries above.
    • this makes native dependencies not trimmable based on IL trimming.
  • draft of src\native\libs\Browser.Native\
    • just a stub
  • rename mono_wasm_browser_entropy to BrowserNative_RandomBytes
  • do not link ICU data into System.Globalization.Native for browser
  • add CLR+browser subsets

Limitations

  • this is targeting NodeJS for now
  • this doesn't bring any of the necessary TypeScript/loader+interop code
  • pinvoke for statically linked 3rd party native libraries and for trimming. It will need generator.

@pavelsavara pavelsavara added this to the 11.0.0 milestone Sep 13, 2025
@pavelsavara pavelsavara self-assigned this Sep 13, 2025
@pavelsavara pavelsavara added arch-wasm WebAssembly architecture area-Host os-browser Browser variant of arch-wasm labels Sep 13, 2025
Copy link
Contributor

Tagging subscribers to this area: @vitek-karas, @agocke, @VSadov
See info in area-owners.md if you want to be subscribed.

@pavelsavara
Copy link
Member Author

Together with #119591

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-wasm WebAssembly architecture area-Host os-browser Browser variant of arch-wasm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants