stevedoyle labeled issue #6670:
Test Case
Build error when building the wasmtime-bench-api package and including the wasi-crypto feature.
Steps to Reproduce
cd wasmtime cargo build --release -p wasmtime-bench-api --features wasi-crypto
Expected Results
Successful build
Actual Results
Build error:
Compiling wasmtime-bench-api v11.0.0 (/home/sdp/wasmtime/crates/bench-api) error[E0433]: failed to resolve: could not find `WasiCryptoCtx` in `wasmtime_wasi_nn` --> crates/bench-api/src/lib.rs:521:44 | 521 | wasi_crypto: wasmtime_wasi_nn::WasiCryptoCtx::new(), | ^^^^^^^^^^^^^ could not find `WasiCryptoCtx` in `wasmtime_wasi_nn` | help: consider importing this struct | 138 + use wasmtime_wasi_crypto::WasiCryptoCtx; | help: if you import `WasiCryptoCtx`, refer to it directly | 521 - wasi_crypto: wasmtime_wasi_nn::WasiCryptoCtx::new(), 521 + wasi_crypto: WasiCryptoCtx::new(), | For more information about this error, try `rustc --explain E0433`. error: could not compile `wasmtime-bench-api` (lib) due to previous error
Versions and Environment
Wasmtime version or commit: v10.0.1
Operating system: Linux, Ubuntu
Extra Info
stevedoyle opened issue #6670:
Test Case
Build error when building the wasmtime-bench-api package and including the wasi-crypto feature.
Steps to Reproduce
cd wasmtime cargo build --release -p wasmtime-bench-api --features wasi-crypto
Expected Results
Successful build
Actual Results
Build error:
Compiling wasmtime-bench-api v11.0.0 (/home/sdp/wasmtime/crates/bench-api) error[E0433]: failed to resolve: could not find `WasiCryptoCtx` in `wasmtime_wasi_nn` --> crates/bench-api/src/lib.rs:521:44 | 521 | wasi_crypto: wasmtime_wasi_nn::WasiCryptoCtx::new(), | ^^^^^^^^^^^^^ could not find `WasiCryptoCtx` in `wasmtime_wasi_nn` | help: consider importing this struct | 138 + use wasmtime_wasi_crypto::WasiCryptoCtx; | help: if you import `WasiCryptoCtx`, refer to it directly | 521 - wasi_crypto: wasmtime_wasi_nn::WasiCryptoCtx::new(), 521 + wasi_crypto: WasiCryptoCtx::new(), | For more information about this error, try `rustc --explain E0433`. error: could not compile `wasmtime-bench-api` (lib) due to previous error
Versions and Environment
Wasmtime version or commit: v10.0.1
Operating system: Linux, Ubuntu
Extra Info
stevedoyle closed issue #6670:
Test Case
Build error when building the wasmtime-bench-api package and including the wasi-crypto feature.
Steps to Reproduce
cd wasmtime cargo build --release -p wasmtime-bench-api --features wasi-crypto
Expected Results
Successful build
Actual Results
Build error:
Compiling wasmtime-bench-api v11.0.0 (/home/sdp/wasmtime/crates/bench-api) error[E0433]: failed to resolve: could not find `WasiCryptoCtx` in `wasmtime_wasi_nn` --> crates/bench-api/src/lib.rs:521:44 | 521 | wasi_crypto: wasmtime_wasi_nn::WasiCryptoCtx::new(), | ^^^^^^^^^^^^^ could not find `WasiCryptoCtx` in `wasmtime_wasi_nn` | help: consider importing this struct | 138 + use wasmtime_wasi_crypto::WasiCryptoCtx; | help: if you import `WasiCryptoCtx`, refer to it directly | 521 - wasi_crypto: wasmtime_wasi_nn::WasiCryptoCtx::new(), 521 + wasi_crypto: WasiCryptoCtx::new(), | For more information about this error, try `rustc --explain E0433`. error: could not compile `wasmtime-bench-api` (lib) due to previous error
Versions and Environment
Wasmtime version or commit: v10.0.1
Operating system: Linux, Ubuntu
Extra Info
Last updated: Dec 23 2024 at 12:05 UTC