mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
Add alignment argument to Zig decref call
This commit is contained in:
parent
7b5fb2577b
commit
f4d52f7084
2 changed files with 18 additions and 6 deletions
|
@ -859,10 +859,11 @@ impl<'a> WasmBackend<'a> {
|
|||
|
||||
None => {
|
||||
// Wasm function signature
|
||||
let signature_index = self.module.types.insert(Signature {
|
||||
let signature = Signature {
|
||||
param_types,
|
||||
ret_type,
|
||||
});
|
||||
};
|
||||
let signature_index = self.module.types.insert(signature);
|
||||
|
||||
// Declare it as an import since it comes from a different .o file
|
||||
let import_index = self.module.import.entries.len() as u32;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue