From bf2371c8afd99c0f6ae50694f4fb3029c0a654d9 Mon Sep 17 00:00:00 2001 From: Pat Hickey Date: Tue, 5 Jan 2021 17:29:34 -0800 Subject: [PATCH] wasi: get rid of missing_memory config --- crates/wasi/src/lib.rs | 2 -- crates/wasi/src/old/snapshot_0.rs | 2 -- 2 files changed, 4 deletions(-) diff --git a/crates/wasi/src/lib.rs b/crates/wasi/src/lib.rs index 166a0e1ef9..ba4f7b6c2e 100644 --- a/crates/wasi/src/lib.rs +++ b/crates/wasi/src/lib.rs @@ -33,8 +33,6 @@ resolution.", } }, }, - // Error to return when caller module is missing memory export: - missing_memory: { wasi_common::wasi::types::Errno::Inval }, }); pub fn is_wasi_module(name: &str) -> bool { diff --git a/crates/wasi/src/old/snapshot_0.rs b/crates/wasi/src/old/snapshot_0.rs index 2b054c011b..826acb995a 100644 --- a/crates/wasi/src/old/snapshot_0.rs +++ b/crates/wasi/src/old/snapshot_0.rs @@ -32,8 +32,6 @@ resolution.", } }, }, - // Error to return when caller module is missing memory export: - missing_memory: { wasi_common::wasi::types::Errno::Inval }, }); pub fn is_wasi_module(name: &str) -> bool {