Closed adambratschikaye closed 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
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.