From cc706f714aaea6b3ce8569facff77ecabf5b1d55 Mon Sep 17 00:00:00 2001 From: Erich Gubler Date: Wed, 26 Aug 2026 16:47:08 +0200 Subject: [PATCH] refactor: `wgpu{,-core}`: remove `recursion_limit` attrs. Now that we force the compiler to eagerly evaluate `Send + Sync` for types that have had problems with `recursion_limit`s, we should be able to use the compiler's defaults. Remove the attributes raising the default. Co-authored-by: Nazar Mokrynskyi --- wgpu-core/src/lib.rs | 2 -- wgpu/src/lib.rs | 2 -- 2 files changed, 4 deletions(-) diff --git a/wgpu-core/src/lib.rs b/wgpu-core/src/lib.rs index a76a84c3f..a5103ca78 100644 --- a/wgpu-core/src/lib.rs +++ b/wgpu-core/src/lib.rs @@ -7,8 +7,6 @@ //! #![no_std] -// `-Znext-solver` requires deeper recursion limits (at least for now) to prove Send/Sync -#![recursion_limit = "256"] // When we have no backends, we end up with a lot of dead or otherwise unreachable code. #![cfg_attr( all( diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs index e01e12537..225051056 100644 --- a/wgpu/src/lib.rs +++ b/wgpu/src/lib.rs @@ -39,8 +39,6 @@ #![doc = crate::macros::doc_image!("render_coordinates.webp")] #![doc = crate::macros::doc_image!("texture_coordinates.webp")] #![no_std] -// `-Znext-solver` requires deeper recursion limits (at least for now) to prove Send/Sync -#![recursion_limit = "256"] #![cfg_attr(docsrs, feature(doc_cfg))] #![doc(html_logo_url = "https://raw.githubusercontent.com/gfx-rs/wgpu/trunk/logo.png")] #![warn(