Browse Source

Update instantiate.rs (#864)

* Update instantiate.rs

This must have snuck in the latest refactor of auto-generating the hostcalls from `*.witx` files.

* Fix formatting
pull/868/head
Jakub Konka 5 years ago
committed by Alex Crichton
parent
commit
4b84d19f77
  1. 2
      crates/wasi/src/old/snapshot_0/instantiate.rs

2
crates/wasi/src/old/snapshot_0/instantiate.rs

@ -7,8 +7,8 @@ use std::fs::File;
use std::sync::Arc;
use target_lexicon::HOST;
use wasi_common::old::snapshot_0::hostcalls;
use wasi_common::old::snapshot_0::wasi;
use wasi_common::old::snapshot_0::{WasiCtx, WasiCtxBuilder};
use wasi_common::wasi;
use wasmtime_environ::{translate_signature, Export, Module};
use wasmtime_runtime::{Imports, InstanceHandle, InstantiationError, VMContext};

Loading…
Cancel
Save