mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 23:04:49 +00:00
wasm: include Name section in output binary, for debugging
This commit is contained in:
parent
8c5fe2ae22
commit
55465d15a0
2 changed files with 32 additions and 11 deletions
|
@ -66,6 +66,7 @@ impl<'a> WasmModule<'a> {
|
|||
self.element.serialize(buffer);
|
||||
self.code.serialize(buffer);
|
||||
self.data.serialize(buffer);
|
||||
self.names.serialize(buffer);
|
||||
}
|
||||
|
||||
/// Serialize the module to bytes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue