3 releases

Uses old Rust 2015

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

#28 in #webasm

Download history 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 24/week @ 2024-04-29 56/week @ 2024-05-06 81/week @ 2024-05-13 49/week @ 2024-05-20 39/week @ 2024-05-27 46/week @ 2024-06-03 28/week @ 2024-06-10 38/week @ 2024-06-17 24/week @ 2024-06-24

138 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

~1.1–8.5MB
~62K SLoC