Remove the Context type from wasmtime (#825)
* Remove the `Context` type from `wasmtime` This hasn't really ended up being used in all that many places and the dependencies on it were pretty minimal. This commit removes it in favor of simplifying its various users a bit and/or leveraging the `Engine`/`Store` structures where possible. * Run rustfmt
This commit is contained in:
@@ -141,8 +141,7 @@ impl WrappedCallable for WasmtimeFn {
|
||||
// Get the trampoline to call for this function.
|
||||
let exec_code_buf = self
|
||||
.store
|
||||
.context()
|
||||
.compiler()
|
||||
.compiler_mut()
|
||||
.get_published_trampoline(body, &signature, value_size)
|
||||
.map_err(|e| Trap::new(format!("trampoline error: {:?}", e)))?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user