Browse Source

Bump MSRV to 1.75.0 (#8205)

* Bump MSRV to 1.75.0

Coupled with today's release of 1.77.0. Today's release actually has
some nice functions and such I think we'll want to use in Wasmtime but
we'll need to wait 3 months to be able to use them.

* Fix dead code warning in onnx
pull/8210/head
Alex Crichton 8 months ago
committed by GitHub
parent
commit
b363db0f9c
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      Cargo.toml
  2. 2
      crates/wasi-nn/src/backend/onnxruntime.rs

2
Cargo.toml

@ -140,7 +140,7 @@ authors = ["The Wasmtime Project Developers"]
edition = "2021" edition = "2021"
# Wasmtime's current policy is that this number can be no larger than the # Wasmtime's current policy is that this number can be no larger than the
# current stable release of Rust minus 2. # current stable release of Rust minus 2.
rust-version = "1.74.0" rust-version = "1.75.0"
[workspace.lints.rust] [workspace.lints.rust]
# Turn on some lints which are otherwise allow-by-default in rustc. # Turn on some lints which are otherwise allow-by-default in rustc.

2
crates/wasi-nn/src/backend/onnxruntime.rs

@ -48,7 +48,7 @@ impl BackendFromDir for OnnxBackend {
} }
} }
struct ONNXGraph(Arc<Mutex<Session>>, ExecutionTarget); struct ONNXGraph(Arc<Mutex<Session>>, #[allow(dead_code)] ExecutionTarget);
unsafe impl Send for ONNXGraph {} unsafe impl Send for ONNXGraph {}
unsafe impl Sync for ONNXGraph {} unsafe impl Sync for ONNXGraph {}

Loading…
Cancel
Save