diff --git a/Cargo.toml b/Cargo.toml index e5c0f8f76ddd..8ba4a38323c8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -140,7 +140,7 @@ authors = ["The Wasmtime Project Developers"] edition = "2021" # Wasmtime's current policy is that this number can be no larger than the # current stable release of Rust minus 2. -rust-version = "1.74.0" +rust-version = "1.75.0" [workspace.lints.rust] # Turn on some lints which are otherwise allow-by-default in rustc. diff --git a/crates/wasi-nn/src/backend/onnxruntime.rs b/crates/wasi-nn/src/backend/onnxruntime.rs index 5ceb4fd11685..bddb03dc9b35 100644 --- a/crates/wasi-nn/src/backend/onnxruntime.rs +++ b/crates/wasi-nn/src/backend/onnxruntime.rs @@ -48,7 +48,7 @@ impl BackendFromDir for OnnxBackend { } } -struct ONNXGraph(Arc>, ExecutionTarget); +struct ONNXGraph(Arc>, #[allow(dead_code)] ExecutionTarget); unsafe impl Send for ONNXGraph {} unsafe impl Sync for ONNXGraph {}