mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-22 15:31:03 +01:00
chore: update REPO_MSRV 1.92 → 1.93
This commit is contained in:
1 parent
59c351be6a
commit
487afd21e4
13 files changed
+14
-13
No files matched your search
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
+1
-1
@@ -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/"
|
||||
|
||||
@@ -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**.
|
||||
|
||||
<details>
|
||||
<summary> Specific Details </summary>
|
||||
@@ -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.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "wgpu-example-01-hello-compute"
|
||||
edition = "2021"
|
||||
rust-version = "1.92"
|
||||
rust-version = "1.93"
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "wgpu-example-02-hello-window"
|
||||
edition = "2021"
|
||||
rust-version = "1.92"
|
||||
rust-version = "1.93"
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "wgpu-example-custom-backend"
|
||||
edition = "2021"
|
||||
rust-version = "1.92"
|
||||
rust-version = "1.93"
|
||||
publish = false
|
||||
|
||||
[features]
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
[toolchain]
|
||||
channel = "1.92"
|
||||
channel = "1.93"
|
||||
components = ["rustfmt", "clippy"]
|
||||
targets = ["wasm32-unknown-unknown"]
|
||||
@@ -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:
|
||||
|
||||
+1
-1
@@ -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/
|
||||
|
||||
Reference in new issue
Block a user