mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 15:03:46 +00:00
Fix import in wasm gen
This commit is contained in:
parent
bf12e9e928
commit
ec7ee375d3
1 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ use roc_mono::ir::{
|
|||
Call, CallType, Expr, HostExposedLayouts, Literal, Proc, ProcLayout, SelfRecursive, Stmt,
|
||||
UpdateModeId,
|
||||
};
|
||||
use roc_mono::layout::{Builtin, Captures, LambdaName, Layout, STLayoutInterner};
|
||||
use roc_mono::layout::{Builtin, LambdaName, Layout, Niche, STLayoutInterner};
|
||||
use roc_wasm_interp::{wasi, ImportDispatcher, Instance, WasiDispatcher};
|
||||
use roc_wasm_module::{Value, WasmModule};
|
||||
|
||||
|
@ -124,7 +124,7 @@ fn build_app_mono<'a>(
|
|||
let proc_layout = ProcLayout {
|
||||
arguments: &[],
|
||||
result: int_layout,
|
||||
niche: Captures::no_niche(),
|
||||
niche: Niche::NONE,
|
||||
};
|
||||
|
||||
let mut app = MutMap::default();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue