#webasm

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

#598 in Development tools

Download history 57/week @ 2021-01-15 59/week @ 2021-01-22 73/week @ 2021-01-29 68/week @ 2021-02-05 78/week @ 2021-02-12 63/week @ 2021-02-19 66/week @ 2021-02-26 54/week @ 2021-03-05 83/week @ 2021-03-12 72/week @ 2021-03-19 76/week @ 2021-03-26 51/week @ 2021-04-02 73/week @ 2021-04-09 61/week @ 2021-04-16 50/week @ 2021-04-23 64/week @ 2021-04-30

244 downloads per month

MIT/Apache

44KB
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

~1MB
~22K SLoC