Files
wasmtime/crates/wasi/src/lib.rs
Alex Crichton 28a938a62f Remove allow(improper_ctypes) (#797)
This was a bug on nightly a month or so ago but has since been fixed!
2020-01-10 14:41:49 -06:00

12 lines
373 B
Rust

mod instantiate;
pub mod old;
pub use instantiate::{create_wasi_instance, instantiate_wasi, instantiate_wasi_with_context};
pub fn is_wasi_module(name: &str) -> bool {
// FIXME: this should be more conservative, but while WASI is in flux and
// we're figuring out how to support multiple revisions, this should do the
// trick.
name.starts_with("wasi")
}