wasmtime-wasi: fix invocation of wasmtime_integration!

should use path relative to this crates's root
This commit is contained in:
Pat Hickey
2020-08-27 16:12:20 -07:00
parent 82d2a48896
commit 4dabe3fad6

View File

@@ -10,7 +10,7 @@ wasmtime_wiggle::wasmtime_integration!({
// The wiggle code to integrate with lives here:
target: wasi_common::wasi,
// This must be the same witx document as used above:
witx: ["phases/snapshot/witx/wasi_snapshot_preview1.witx"],
witx: ["../wasi-common/WASI/phases/snapshot/witx/wasi_snapshot_preview1.witx"],
// This must be the same ctx type as used for the target:
ctx: WasiCtx,
// This macro will emit a struct to represent the instance,