diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d4b5295e..d089541ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -212,6 +212,7 @@ By @beholdnec in [#8505](https://github.com/gfx-rs/wgpu/pull/8505). - Fix incorrect checks for dynamic binding bounds when calling an encoder's `set_bind_group` in passes and bundles. By @ErichDonGubler in [#9308](https://github.com/gfx-rs/wgpu/pull/9308). - Writes from `Queue::write_buffer` are now flushed by calls to `Buffer::map_async` for that same buffer, to prevent reading stale data. `on_submitted_work_done` also now flushes pending writes. By @andyleiserson in [#9307](https://github.com/gfx-rs/wgpu/pull/9307). - Fix missing dependency feature activations when building wgpu-hal with gles/dx12 in isolation. By @wumpf in [#9325](https://github.com/gfx-rs/wgpu/pull/9325) +- Increase recursion limits to please `-Znext-solver`. By @nazar-pc in [#9609](https://github.com/gfx-rs/wgpu/pull/9609) - Stencil clear and reference values are now truncated to 8 bits. By @beicause in [#9607](https://github.com/gfx-rs/wgpu/pull/9607). - Fixed missing initialization of other aspects when writing to a single aspect of a multi-aspect texture. By @andyleiserson in [#9626](https://github.com/gfx-rs/wgpu/pull/9626). diff --git a/wgpu-core/src/lib.rs b/wgpu-core/src/lib.rs index 8a981a437..17b5c5f40 100644 --- a/wgpu-core/src/lib.rs +++ b/wgpu-core/src/lib.rs @@ -7,6 +7,8 @@ //! #![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 e17be8f48..face478ac 100644 --- a/wgpu/src/lib.rs +++ b/wgpu/src/lib.rs @@ -73,6 +73,8 @@ //! #![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(