12 releases

Uses old Rust 2015

0.1.11 Aug 28, 2018
0.1.10 Aug 3, 2018
0.1.9 Jul 25, 2018
0.1.6 Jun 1, 2018
0.1.1 Feb 27, 2018

#19 in #imports

Download history 874/week @ 2024-05-22 979/week @ 2024-05-29 916/week @ 2024-06-05 818/week @ 2024-06-12 651/week @ 2024-06-19 740/week @ 2024-06-26 140/week @ 2024-07-03 906/week @ 2024-07-10 874/week @ 2024-07-17 1212/week @ 2024-07-24 605/week @ 2024-07-31 2039/week @ 2024-08-07 1035/week @ 2024-08-14 916/week @ 2024-08-21 1176/week @ 2024-08-28 670/week @ 2024-09-04

4,564 downloads per month
Used in 3 crates (2 directly)

MIT/Apache

37KB
933 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

~575KB
~14K SLoC