Merge pull request #2140 from bytecodealliance/pch/wasi_error_handling

wasi-common: refactor error types
This commit is contained in:
Pat Hickey
2020-09-01 13:01:26 -07:00
committed by GitHub
34 changed files with 511 additions and 407 deletions

View File

@@ -33,7 +33,7 @@ resolution.",
},
},
// Error to return when caller module is missing memory export:
missing_memory: { wasi_common::wasi::Errno::Inval },
missing_memory: { wasi_common::wasi::types::Errno::Inval },
});
pub fn is_wasi_module(name: &str) -> bool {