From ae51059f8bd11a05f1ee00eb897a16630308762e Mon Sep 17 00:00:00 2001 From: Connor Fitzgerald Date: Thu, 2 Oct 2025 12:44:50 -0400 Subject: [PATCH] Fix docs.rs build --- wgpu-core/src/lib.rs | 2 +- wgpu-hal/src/lib.rs | 2 +- wgpu-types/src/lib.rs | 2 +- wgpu/src/lib.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wgpu-core/src/lib.rs b/wgpu-core/src/lib.rs index d5bd7e48432..fe173c50913 100644 --- a/wgpu-core/src/lib.rs +++ b/wgpu-core/src/lib.rs @@ -17,7 +17,7 @@ ), allow(unused, clippy::let_and_return) )] -#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![allow( // It is much clearer to assert negative conditions with eq! false clippy::bool_assert_comparison, diff --git a/wgpu-hal/src/lib.rs b/wgpu-hal/src/lib.rs index a614098240d..a1a7eb147a1 100644 --- a/wgpu-hal/src/lib.rs +++ b/wgpu-hal/src/lib.rs @@ -203,7 +203,7 @@ //! [wiki-debug]: https://github.com/gfx-rs/wgpu/wiki/Debugging-wgpu-Applications #![no_std] -#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![allow( // this happens on the GL backend, where it is both thread safe and non-thread safe in the same code. clippy::arc_with_non_send_sync, diff --git a/wgpu-types/src/lib.rs b/wgpu-types/src/lib.rs index f397bed3616..5f4ba523968 100644 --- a/wgpu-types/src/lib.rs +++ b/wgpu-types/src/lib.rs @@ -1,7 +1,7 @@ //! This library describes the API surface of WebGPU that is agnostic of the backend. //! This API is used for targeting both Web and Native. -#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![allow( // We don't use syntax sugar where it's not necessary. clippy::match_like_matches_macro, diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs index 4d183648830..25ac702f053 100644 --- a/wgpu/src/lib.rs +++ b/wgpu/src/lib.rs @@ -32,7 +32,7 @@ //! #![no_std] -#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![doc(html_logo_url = "https://raw.githubusercontent.com/gfx-rs/wgpu/trunk/logo.png")] #![warn( clippy::alloc_instead_of_core,