wiggle use sites: remove ctx argument

This commit is contained in:
Pat Hickey
2021-03-04 17:28:20 -08:00
parent ff59797ad0
commit bcebdd43ef
4 changed files with 0 additions and 4 deletions

View File

@@ -15,7 +15,6 @@ use wiggle::GuestPtr;
wiggle::from_witx!({ wiggle::from_witx!({
witx: ["$WASI_ROOT/phases/old/snapshot_0/witx/wasi_unstable.witx"], witx: ["$WASI_ROOT/phases/old/snapshot_0/witx/wasi_unstable.witx"],
ctx: WasiCtx,
errors: { errno => Error }, errors: { errno => Error },
}); });

View File

@@ -21,7 +21,6 @@ use wiggle::GuestPtr;
wiggle::from_witx!({ wiggle::from_witx!({
witx: ["$WASI_ROOT/phases/snapshot/witx/wasi_snapshot_preview1.witx"], witx: ["$WASI_ROOT/phases/snapshot/witx/wasi_snapshot_preview1.witx"],
ctx: WasiCtx,
errors: { errno => Error }, errors: { errno => Error },
}); });

View File

@@ -2,7 +2,6 @@ pub use wasi_crypto::CryptoCtx as WasiCryptoCtx;
wiggle::from_witx!({ wiggle::from_witx!({
witx: ["$CARGO_MANIFEST_DIR/spec/witx/wasi_ephemeral_crypto.witx"], witx: ["$CARGO_MANIFEST_DIR/spec/witx/wasi_ephemeral_crypto.witx"],
ctx: WasiCryptoCtx
}); });
pub mod wasi_modules { pub mod wasi_modules {

View File

@@ -5,7 +5,6 @@ use crate::ctx::WasiNnError;
// Generate the traits and types of wasi-nn in several Rust modules (e.g. `types`). // Generate the traits and types of wasi-nn in several Rust modules (e.g. `types`).
wiggle::from_witx!({ wiggle::from_witx!({
witx: ["$WASI_ROOT/phases/ephemeral/witx/wasi_ephemeral_nn.witx"], witx: ["$WASI_ROOT/phases/ephemeral/witx/wasi_ephemeral_nn.witx"],
ctx: WasiNnCtx,
errors: { nn_errno => WasiNnError } errors: { nn_errno => WasiNnError }
}); });