Skip to content

Commit

Permalink
wasmtime bench-api build error when using --feature wasi-crypto (#6670)…
Browse files Browse the repository at this point in the history
… (#6671)

Fixing typo of wasmtime_wasi_nn -> wasmtime_wasi_crypto that was causing
a build error when building the bench-api with the wasi-crypto feature
enabled.
  • Loading branch information
stevedoyle committed Jun 29, 2023
1 parent 1191091 commit cd93f17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bench-api/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ impl BenchState {
#[cfg(feature = "wasi-nn")]
wasi_nn: wasmtime_wasi_nn::WasiNnCtx::new()?,
#[cfg(feature = "wasi-crypto")]
wasi_crypto: wasmtime_wasi_nn::WasiCryptoCtx::new(),
wasi_crypto: wasmtime_wasi_crypto::WasiCryptoCtx::new(),
};

// NB: Start measuring instantiation time *after* we've created the WASI
Expand Down

0 comments on commit cd93f17

Please sign in to comment.