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

feat(EXC): Name Section for Metadata Command #69

Closed adambratschikaye closed 2 months ago

adambratschikaye commented 2 months ago

Add support for keeping the name section in the Wasm module when running the metadata command. Currently that command will always drop the name section when mutating the custom sections.

adambratschikaye commented 2 months ago

This is needed to enable including name sections for Rust canisters in the main repo where the metadata step is always run as determined by the bazel rules: https://github.com/dfinity/ic/blob/41c742d5de5e80ce0e812418c2cf5a87e04d37ac/bazel/canisters.bzl#L192-L193