mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
Wasm: add preloaded_bytes and preloaded_count to Code section
This commit is contained in:
parent
743e14148c
commit
b8f51fb1bb
2 changed files with 7 additions and 1 deletions
|
@ -126,6 +126,8 @@ impl<'a> WasmBackend<'a> {
|
|||
start: (),
|
||||
element: (),
|
||||
code: CodeSection {
|
||||
preloaded_count: 0,
|
||||
preloaded_bytes: Vec::with_capacity_in(0, arena),
|
||||
code_builders: Vec::with_capacity_in(num_procs, arena),
|
||||
},
|
||||
data: DataSection {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue