use WASI_ROOT env var to specify witx paths to wiggle macros
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
use crate::WasiCtx;
|
||||
|
||||
wiggle::from_witx!({
|
||||
witx: ["WASI/phases/snapshot/witx/wasi_snapshot_preview1.witx"],
|
||||
witx: ["$WASI_ROOT/phases/snapshot/witx/wasi_snapshot_preview1.witx"],
|
||||
ctx: WasiCtx,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user