ipld / wasm-ipld

Tools and examples of IPLD codecs and ADLs in WASM callable from hosts
Apache License 2.0
8 stars 1 forks source link

MVP TODOs #3

Open aschmahmann opened 2 years ago

aschmahmann commented 2 years ago
dOrgJelli commented 2 years ago

Build step for stripping compiled wasm modules

If you're referring to removing dead code, I might suggest using the wasm-snip crate. We've had success using it in the Polywrap toolchain's default Rust build image: https://github.com/polywrap/monorepo/blob/4eac9010f4b3cb7cd041854a737bd84e176d816c/packages/cli/src/lib/defaults/build-images/wasm/rust/Dockerfile.mustache#L101