Files
wasmtime/cranelift
Dan Gohman 89e7d56120 Allow wasm embedders to reject wasm modules with unsupported features. (#345)
Define `WasmError` (and an accompanying `WasmResult`) to represent
errors translating WebAssembly functions. Make `translate_call` and
related functions return `WasmResult`s so that embedders have the
flexibility to reject features they don't support.

Move `InvalidInput` out of `CtonError` and into `WasmError`, where it's
now named `InvalidWebAssembly`, as it's a WebAssembly-specific error
condition. Also extend it to preserve the original error message and
bytecode offset.
2018-05-21 20:49:19 -07:00
..
2018-05-14 09:31:27 -10:00
2018-03-30 17:09:21 -07:00
2018-02-21 15:14:03 -08:00
2018-05-18 12:54:00 -07:00
2018-03-22 13:10:41 -07:00
2018-05-14 09:31:27 -10:00
2016-01-12 16:51:35 -08:00
2018-05-01 19:54:21 -07:00
2018-05-14 09:31:27 -10:00