diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 94b5735ce..f1ebcd635 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -19,7 +19,7 @@ env: # # This is the MSRV used by `wgpu` itself and all surrounding infrastructure. - REPO_MSRV: "1.92" + REPO_MSRV: "1.93" # # Environment variables diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d55ed1299..d86f82356 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ env: # # This is the MSRV used by `wgpu` itself and all surrounding infrastructure. - REPO_MSRV: "1.92" + REPO_MSRV: "1.93" # This is the MSRV used by the `wgpu-core`, `wgpu-hal`, and `wgpu-types` crates, # to ensure that they can be used with firefox. CORE_MSRV: "1.90.0" diff --git a/.github/workflows/cts.yml b/.github/workflows/cts.yml index 6edbec2e2..9fad1867b 100644 --- a/.github/workflows/cts.yml +++ b/.github/workflows/cts.yml @@ -17,7 +17,7 @@ env: CARGO_INCREMENTAL: false CARGO_TERM_COLOR: always RUST_BACKTRACE: full - MSRV: "1.92" + MSRV: "1.93" # Every time a PR is pushed to, cancel any previous jobs. This # makes us behave nicer to github and get faster turnaround times diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 4b2eb2aac..5c96fa331 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -15,7 +15,7 @@ on: env: # This is the MSRV used by `wgpu` itself and all surrounding infrastructure. - REPO_MSRV: "1.92" + REPO_MSRV: "1.93" CARGO_INCREMENTAL: false CARGO_TERM_COLOR: always diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml index b1b51f1dd..5c253f2bb 100644 --- a/.github/workflows/generate.yml +++ b/.github/workflows/generate.yml @@ -19,7 +19,7 @@ env: # # This is the MSRV used by `wgpu` itself and all surrounding infrastructure. - REPO_MSRV: "1.92" + REPO_MSRV: "1.93" RUSTFLAGS: -D warnings # Every time a PR is pushed to, cancel any previous jobs. This diff --git a/Cargo.toml b/Cargo.toml index da90a92ec..d03c71c61 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -56,7 +56,7 @@ ref_as_ptr = "warn" [workspace.package] edition = "2021" -rust-version = "1.92" +rust-version = "1.93" keywords = ["graphics"] license = "MIT OR Apache-2.0" homepage = "https://wgpu.rs/" diff --git a/README.md b/README.md index bd4726a08..d6439b95f 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ For an overview of all the components in the gfx-rs ecosystem, see [the big pict ## MSRV policy -TL;DR: If you're using `wgpu`, our MSRV is **1.92**. +TL;DR: If you're using `wgpu`, our MSRV is **1.93**.
Specific Details @@ -104,7 +104,7 @@ TL;DR: If you're using `wgpu`, our MSRV is **1.92**. Due to complex dependants, we have two MSRV policies: - `naga`, `wgpu-core`, `wgpu-hal`, and `wgpu-types`'s MSRV is **1.90**. -- The rest of the workspace has an MSRV of **1.92**. +- The rest of the workspace has an MSRV of **1.93**. It is enforced on CI (in "/.github/workflows/ci.yml") with the `CORE_MSRV` and `REPO_MSRV` variables. This version can only be upgraded in breaking releases, though we release a breaking version every three months. diff --git a/examples/standalone/01_hello_compute/Cargo.toml b/examples/standalone/01_hello_compute/Cargo.toml index ded7e2afc..ca323fa72 100644 --- a/examples/standalone/01_hello_compute/Cargo.toml +++ b/examples/standalone/01_hello_compute/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "wgpu-example-01-hello-compute" edition = "2021" -rust-version = "1.92" +rust-version = "1.93" publish = false [dependencies] diff --git a/examples/standalone/02_hello_window/Cargo.toml b/examples/standalone/02_hello_window/Cargo.toml index e4c18e136..9f6483cbd 100644 --- a/examples/standalone/02_hello_window/Cargo.toml +++ b/examples/standalone/02_hello_window/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "wgpu-example-02-hello-window" edition = "2021" -rust-version = "1.92" +rust-version = "1.93" publish = false [dependencies] diff --git a/examples/standalone/custom_backend/Cargo.toml b/examples/standalone/custom_backend/Cargo.toml index bf33d094b..82607c475 100644 --- a/examples/standalone/custom_backend/Cargo.toml +++ b/examples/standalone/custom_backend/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "wgpu-example-custom-backend" edition = "2021" -rust-version = "1.92" +rust-version = "1.93" publish = false [features] diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 04d37a72c..feb5decf9 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,4 +1,4 @@ [toolchain] -channel = "1.92" +channel = "1.93" components = ["rustfmt", "clippy"] targets = ["wasm32-unknown-unknown"] diff --git a/wgpu-hal/src/metal/command.rs b/wgpu-hal/src/metal/command.rs index b635fa197..719ce0f00 100644 --- a/wgpu-hal/src/metal/command.rs +++ b/wgpu-hal/src/metal/command.rs @@ -201,6 +201,7 @@ impl super::CommandEncoder { self.state.blit = Some(cmd_buf.blitCommandEncoder().unwrap()); }); + #[expect(clippy::panicking_unwrap, reason = "false positive")] let encoder = self.state.blit.as_ref().unwrap(); // UNTESTED: diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs index 4202fb8ee..7f8dad864 100644 --- a/wgpu/src/lib.rs +++ b/wgpu/src/lib.rs @@ -28,7 +28,7 @@ //! | --------------------- | ---------------------- | //! | ![render_coordinates] | ![texture_coordinates] | //! -//! `wgpu`'s MSRV is **1.92**. +//! `wgpu`'s MSRV is **1.93**. //! //! [Learn Wgpu]: https://sotrh.github.io/learn-wgpu/ //! [WebGPU Fundamentals]: https://webgpufundamentals.org/