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

#12 in #imports

Download history 622/week @ 2023-11-29 566/week @ 2023-12-06 790/week @ 2023-12-13 667/week @ 2023-12-20 457/week @ 2023-12-27 469/week @ 2024-01-03 713/week @ 2024-01-10 668/week @ 2024-01-17 656/week @ 2024-01-24 417/week @ 2024-01-31 894/week @ 2024-02-07 1024/week @ 2024-02-14 1123/week @ 2024-02-21 977/week @ 2024-02-28 854/week @ 2024-03-06 467/week @ 2024-03-13

3,640 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

~580KB
~14K SLoC