wasm_split_macros

Crates.iowasm_split_macros
lib.rswasm_split_macros
version0.2.0
created_at2025-07-20 16:50:24.53297+00
updated_at2025-10-20 11:20:48.256342+00
descriptionSplit a WASM module into lazily loadable chunks
homepage
repositoryhttps://github.com/WorldSEnder/wasm-split-prototype
max_upload_size
id1761239
size18,611
(WorldSEnder)

documentation

README

wasm_split_macros

This crate provides macros that are used along with the wasm_split_helpers crate, which allows you to indicate that certain functions are appropriate split points for lazy-loaded code in WebAssembly (WASM).

A build tool that supports this approach (like wasm-split-cli in wasm_split_cli_support) can then split a WASM binary into multiple chunks, which will be lazy-loaded on demand.

This crate was adapted from an original prototype, which you can find here, with an in-depth description of the approach here.

Commit count: 0

cargo fmt