Cargo Features
[dependencies]
radix-wasm-instrument = { version = "1.0.0", default-features = false, features = ["std", "ignore_custom_section"] }
- default = std
-
The
std
feature is set by default wheneverradix-wasm-instrument
is added without
somewhere in the dependency tree.default-features = false - std default
- ignore_custom_section
-
If set then custom section is ignored (if present) when WASM parsing into ModuleInfo. If it is later converted back to WASM code, custom section will not be present. It allows to spare some memory. According to the WASM spec (see https://webassembly.github.io/spec/core/appendix/custom.html#custom-sections) ignoring Custom section shall not have any impact.