mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 22:11:01 +01:00
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:
1 parent
8d16ec493b
commit
cc706f714a
2 files changed
-4
No files matched your search
@@ -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(
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user