dfinity / ic-wasm

A collection of libraries and tools for transforming Wasm canisters running on the Internet Computer
Apache License 2.0
34 stars 5 forks source link

Optionally keep name section in shrink and optimize #34

Closed kentosugama closed 1 year ago

kentosugama commented 1 year ago

Add an option under the shrink command to let the user keep the name sections in the wasm module. This is useful for debugging and profiling use cases.

ic-wasm -o example.wasm example.wasm shrink --optimize O3 --keep-name-section