Over in alexcrichton/wasm-gc#8 I'm experimenting with demangling rust symbols in wasm output. This results in symbol names such as <alloc::vec::Vec<T>>::extend_from_slice and <&'a T as core::fmt::Debug>::fmt.
While wasm2wat produces very nice looking output, I get a segmentation fault when feeding this output back into wat2wasm. I'm guessing that the space characters are causing issues when parsing the .wat file but other characters could be causing problems as well.
example.wasm.gz
Over in alexcrichton/wasm-gc#8 I'm experimenting with demangling rust symbols in wasm output. This results in symbol names such as
<alloc::vec::Vec<T>>::extend_from_sliceand<&'a T as core::fmt::Debug>::fmt.While
wasm2watproduces very nice looking output, I get a segmentation fault when feeding this output back intowat2wasm. I'm guessing that the space characters are causing issues when parsing the.watfile but other characters could be causing problems as well.example.wasm.gz