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 <nazar@mokrynskyi.com>
This commit is contained in:
Erich GublerandNazar Mokrynskyi authored and mergify[bot] committed 2026-10-05 15:05:01 +00:00
1 parent 8d16ec493b
commit cc706f714a
2 files changed
-4

No files matched your search

-2
View File
@@ -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(
-2
View File
@@ -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(