Fix import in wasm gen

This commit is contained in:
Ayaz Hafiz 2022-12-28 12:31:03 -06:00
parent bf12e9e928
commit ec7ee375d3
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58

View file

@ -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();