From 4dabe3fad6ff780f89e6c12cb632e406695a219c Mon Sep 17 00:00:00 2001 From: Pat Hickey Date: Thu, 27 Aug 2020 16:12:20 -0700 Subject: [PATCH] wasmtime-wasi: fix invocation of wasmtime_integration! should use path relative to this crates's root --- crates/wasi/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/wasi/src/lib.rs b/crates/wasi/src/lib.rs index bd12def83a..d6f8e4fad8 100644 --- a/crates/wasi/src/lib.rs +++ b/crates/wasi/src/lib.rs @@ -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,