#cli

app wasm-gc

A CLI tool to garbage collect webassembly modules

3 releases

Uses old Rust 2015

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

#4344 in #cli

Download history 51/week @ 2024-07-22 57/week @ 2024-07-29 14/week @ 2024-08-05 53/week @ 2024-08-12 12/week @ 2024-08-19 46/week @ 2024-08-26 17/week @ 2024-09-02 26/week @ 2024-09-09 7/week @ 2024-09-16 39/week @ 2024-09-23 49/week @ 2024-09-30 24/week @ 2024-10-07 30/week @ 2024-10-14 54/week @ 2024-10-21 23/week @ 2024-10-28 38/week @ 2024-11-04

146 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.9–9MB
~78K SLoC