3 releases

Uses old Rust 2015

0.1.6 Jun 1, 2018
0.1.1 Feb 27, 2018
0.1.0 Feb 6, 2018

#30 in #webasm

Download history 43/week @ 2024-01-08 29/week @ 2024-01-15 24/week @ 2024-01-22 29/week @ 2024-01-29 39/week @ 2024-02-05 43/week @ 2024-02-12 109/week @ 2024-02-19 89/week @ 2024-02-26 88/week @ 2024-03-04 59/week @ 2024-03-11 61/week @ 2024-03-18 44/week @ 2024-03-25 99/week @ 2024-04-01 35/week @ 2024-04-08 65/week @ 2024-04-15 44/week @ 2024-04-22

247 downloads per month

MIT/Apache

45KB
998 lines

wasm-gc

A small command to gc a wasm module and remove all unneeded exports, imports, functions, etc. This is effectively --gc-sections for wasm.

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

WSL (Windows Subsystem for Linux)

Install gcc:

sudo apt update && sudo apt install gcc -y

and then install the crate:

cargo install wasm-gc

Dependencies

~0.9–8MB
~61K SLoC