fix wasm tests

This commit is contained in:
Folkert 2023-08-09 16:04:48 +02:00
parent 0f3da32d9d
commit 69588a3b76
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
2 changed files with 1 additions and 12 deletions

View file

@ -319,15 +319,6 @@ pub struct HostExposedLambdaSet<'a> {
pub raw_function_layout: RawFunctionLayout<'a>,
}
#[derive(Clone, Debug, PartialEq, Eq)]
pub enum HostExposedLayouts<'a> {
NotHostExposed,
HostExposed {
rigids: BumpMap<Lowercase, InLayout<'a>>,
aliases: BumpMap<Symbol, HostExposedLambdaSet<'a>>,
},
}
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SelfRecursive {
NotSelfRecursive,

View file

@ -14,8 +14,7 @@ use roc_module::symbol::{
Symbol,
};
use roc_mono::ir::{
Call, CallType, Expr, HostExposedLayouts, Literal, Proc, ProcLayout, SelfRecursive, Stmt,
UpdateModeId,
Call, CallType, Expr, Literal, Proc, ProcLayout, SelfRecursive, Stmt, UpdateModeId,
};
use roc_mono::layout::{LambdaName, Layout, Niche, STLayoutInterner};
use roc_wasm_interp::{wasi, ImportDispatcher, Instance, WasiDispatcher};
@ -116,7 +115,6 @@ fn build_app_mono<'a>(
closure_data_layout: None,
ret_layout: int_layout,
is_self_recursive: SelfRecursive::NotSelfRecursive,
host_exposed_layouts: HostExposedLayouts::NotHostExposed,
is_erased: false,
};