Browse Source

wasmtime-wasi: fix invocation of wasmtime_integration!

should use path relative to this crates's root
pull/2169/head
Pat Hickey 4 years ago
parent
commit
4dabe3fad6
  1. 2
      crates/wasi/src/lib.rs

2
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,

Loading…
Cancel
Save