Fix failing test
This commit is contained in:
parent
c956a8866e
commit
daf1674ca6
1 changed files with 2 additions and 2 deletions
|
@ -105,8 +105,6 @@ impl PluginBuilder {
|
|||
fn create_engine(yield_when: &PluginYield) -> Result<(Engine, Linker<WasiCtxAlloc>), Error> {
|
||||
let mut config = Config::default();
|
||||
config.async_support(true);
|
||||
let engine = Engine::new(&config)?;
|
||||
let linker = Linker::new(&engine);
|
||||
|
||||
match yield_when {
|
||||
PluginYield::Epoch { .. } => {
|
||||
|
@ -117,6 +115,8 @@ impl PluginBuilder {
|
|||
}
|
||||
}
|
||||
|
||||
let engine = Engine::new(&config)?;
|
||||
let linker = Linker::new(&engine);
|
||||
Ok((engine, linker))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue