Files
wasmtime/crates/api
Dan Gohman 16b8b3e58d Make Module::new perform validation. (#621)
* Make `Module::new` perform validation.

As noticed in #602, `Module::new` did not perform validation, which
turns out to be error-prone in practice. Rename it to
`Module::new_unchecked`, and add a new `Module::new` which does
perform validation.

Preserve wasm-c-api's `wasm_module_new`'s behavior by using
`Module::new_unchecked`, and implement `wasm_module_validate`.

* Change `validate`'s store argument to `&HostRef<Store>`.

* Enable multi-value in validation.
2019-11-27 10:58:38 -06:00
..
2019-11-08 06:35:40 -08:00
2019-11-08 06:35:40 -08:00

Implementation of wasm-c-api in Rust

https://github.com/WebAssembly/wasm-c-api