Implement RFC 11: Redesigning Wasmtime's APIs (#2897)
Implement Wasmtime's new API as designed by RFC 11. This is quite a large commit which has had lots of discussion externally, so for more information it's best to read the RFC thread and the PR thread.
This commit is contained in:
@@ -36,7 +36,7 @@ impl WastCommand {
|
||||
self.common.init_logging();
|
||||
|
||||
let config = self.common.config(None)?;
|
||||
let store = Store::new(&Engine::new(&config)?);
|
||||
let store = Store::new(&Engine::new(&config)?, ());
|
||||
let mut wast_context = WastContext::new(store);
|
||||
|
||||
wast_context
|
||||
|
||||
Reference in New Issue
Block a user