pub fn mangled_symbol(base: &str, crate_hash: &str) -> StringExpand description
Append the per-crate hash to a wasm shim symbol so that identically named
exports from different crates (or different versions of one crate) cannot
collide at link time. The macro emits every export shim under this mangled
name; cli-support recomputes it from the hash carried in
Program::unique_crate_identifier and renames the export back to its
canonical name once matched.