Skip to content

Commit ff0de91

Browse files
authored
Bump REPO_MSRV to 1.88 (gfx-rs#7960)
1 parent 33b9f86 commit ff0de91

File tree

115 files changed

+314
-397
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+314
-397
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ env:
2525
MESA_VERSION: "24.3.4"
2626

2727
# This is the MSRV used by `wgpu` itself and all surrounding infrastructure.
28-
REPO_MSRV: "1.84"
28+
REPO_MSRV: "1.88"
2929
# This is the MSRV used by the `wgpu-core`, `wgpu-hal`, and `wgpu-types` crates,
3030
# to ensure that they can be used with firefox.
3131
CORE_MSRV: "1.82.0"

.github/workflows/cts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env:
1111
CARGO_INCREMENTAL: false
1212
CARGO_TERM_COLOR: always
1313
RUST_BACKTRACE: full
14-
MSRV: "1.84"
14+
MSRV: "1.88"
1515

1616
jobs:
1717
cts:

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
env:
1212
# This is the MSRV used by `wgpu` itself and all surrounding infrastructure.
13-
REPO_MSRV: "1.84"
13+
REPO_MSRV: "1.88"
1414

1515
CARGO_INCREMENTAL: false
1616
CARGO_TERM_COLOR: always

.github/workflows/generate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ env:
1313
#
1414

1515
# This is the MSRV used by `wgpu` itself and all surrounding infrastructure.
16-
REPO_MSRV: "1.84"
16+
REPO_MSRV: "1.88"
1717
RUSTFLAGS: -D warnings
1818

1919
jobs:

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ ref_as_ptr = "warn"
5454

5555
[workspace.package]
5656
edition = "2021"
57-
rust-version = "1.84"
57+
rust-version = "1.88"
5858
keywords = ["graphics"]
5959
license = "MIT OR Apache-2.0"
6060
homepage = "https://wgpu.rs/"
@@ -178,7 +178,7 @@ rustc-hash = { version = "1.1", default-features = false }
178178
serde_json = "1.0.118"
179179
serde = { version = "1.0.219", default-features = false }
180180
shell-words = "1"
181-
smallvec = "1.9"
181+
smallvec = "1.13.1"
182182
spirv = "0.3"
183183
static_assertions = "1.1"
184184
strum = { version = "0.27", default-features = false, features = ["derive"] }

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ On Linux, you can point to them using `LD_LIBRARY_PATH` environment.
149149

150150
Due to complex dependants, we have two MSRV policies:
151151

152-
- `naga`, `wgpu-core`, `wgpu-hal`, and `wgpu-types`'s MSRV is **1.76**.
153-
- The rest of the workspace has an MSRV of **1.84**.
152+
- `naga`, `wgpu-core`, `wgpu-hal`, and `wgpu-types`'s MSRV is **1.82**.
153+
- The rest of the workspace has an MSRV of **1.88**.
154154

155155
It is enforced on CI (in "/.github/workflows/ci.yml") with the `CORE_MSRV` and `REPO_MSRV` variables.
156156
This version can only be upgraded in breaking releases, though we release a breaking version every three months.

benches/benches/wgpu-benchmark/bind_groups.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ fn run_bench(ctx: &mut Criterion) {
8787
for &count in count_list {
8888
group.throughput(Throughput::Elements(count as u64));
8989
group.bench_with_input(
90-
format!("{} Element Bind Group", count),
90+
format!("{count} Element Bind Group"),
9191
&count,
9292
|b, &count| {
9393
b.iter_custom(|iters| {

clippy.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,4 @@
33
disallowed-types = [
44
{ path = "std::collections::HashMap", reason = "use hashbrown::HashMap instead" },
55
{ path = "std::collections::HashSet", reason = "use hashbrown::HashSet instead" },
6-
{ path = "rustc_hash::FxHashMap", reason = "use hashbrown::HashMap instead" },
7-
{ path = "rustc_hash::FxHashSet", reason = "use hashbrown::HashSet instead" },
86
]

cts_runner/test.lst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ webgpu:api,operation,rendering,color_target_state:blend_constant,setting:*
6868
webgpu:api,operation,rendering,depth:*
6969
webgpu:api,operation,rendering,draw:*
7070
webgpu:api,operation,shader_module,compilation_info:*
71-
webgpu:api,operation,uncapturederror:iff_uncaptured:*
71+
fails-if(metal) webgpu:api,operation,uncapturederror:iff_uncaptured:*
7272
//FAIL: webgpu:shader,execution,expression,call,builtin,select:*
7373
// - Fails with `const`/abstract int cases on all platforms because of <https://github.com/gfx-rs/wgpu/issues/4507>.
7474
// - Fails with `vec3` & `f16` cases on macOS because of <https://github.com/gfx-rs/wgpu/issues/5262>.

examples/features/src/big_compute_buffers/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ fn create_storage_buffers(device: &wgpu::Device, numbers: &[f32]) -> Vec<wgpu::B
193193
.enumerate()
194194
.map(|(e, seg)| {
195195
device.create_buffer_init(&wgpu::util::BufferInitDescriptor {
196-
label: Some(&format!("Storage Buffer-{}", e)),
196+
label: Some(&format!("Storage Buffer-{e}")),
197197
contents: bytemuck::cast_slice(seg),
198198
usage: wgpu::BufferUsages::STORAGE
199199
| wgpu::BufferUsages::COPY_DST
@@ -211,7 +211,7 @@ fn create_staging_buffers(device: &wgpu::Device, numbers: &[f32]) -> Vec<wgpu::B
211211
let size = std::mem::size_of_val(chunks[e]) as u64;
212212

213213
device.create_buffer(&wgpu::BufferDescriptor {
214-
label: Some(&format!("staging buffer-{}", e)),
214+
label: Some(&format!("staging buffer-{e}")),
215215
size,
216216
usage: wgpu::BufferUsages::MAP_READ | wgpu::BufferUsages::COPY_DST,
217217
mapped_at_creation: false,

0 commit comments

Comments
 (0)