diff --git a/compiler/gen_wasm/src/lib.rs b/compiler/gen_wasm/src/lib.rs index ecd0b579fd..19c499c32b 100644 --- a/compiler/gen_wasm/src/lib.rs +++ b/compiler/gen_wasm/src/lib.rs @@ -26,7 +26,7 @@ const PTR_TYPE: ValueType = ValueType::I32; pub const STACK_POINTER_GLOBAL_ID: u32 = 0; pub const FRAME_ALIGNMENT_BYTES: i32 = 16; pub const MEMORY_NAME: &str = "memory"; -pub const BUILTINS_IMPORT_MODULE_NAME: &str = "builtins"; +pub const BUILTINS_IMPORT_MODULE_NAME: &str = "env"; pub const STACK_POINTER_NAME: &str = "__stack_pointer"; pub struct Env<'a> { diff --git a/compiler/test_gen/src/gen_tags.rs b/compiler/test_gen/src/gen_tags.rs index 7d176e4b4e..a7ad65518c 100644 --- a/compiler/test_gen/src/gen_tags.rs +++ b/compiler/test_gen/src/gen_tags.rs @@ -1125,7 +1125,7 @@ fn result_never() { } #[test] -#[cfg(any(feature = "gen-llvm"))] +#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))] fn nested_recursive_literal() { assert_evals_to!( indoc!(