wasmtime-wasi: fix invocation of wasmtime_integration!
should use path relative to this crates's root
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user