You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
wasm-gc got deprecated but we still use it in our build pipeline.
The author mentions that:
The Rust compiler now natively supports --gc-sections when linking wasm executables, which means wasm executables already have 90% of their garbage removed when coming out of the compiler.
But for us this is not entirely true and the size of the runtime is:
882K baseline
636K with wasm-gc
And
The wasm-pack (and wasm-bindgen) project will already run this by default for you, so there's no need to run it again.