From 5a6057bc12c2cf9442f0ee1605e09a0aa61dd965 Mon Sep 17 00:00:00 2001 From: Nicholas Bishop Date: Tue, 21 Oct 2025 13:16:13 -0400 Subject: [PATCH] uefi-raw/uefi: Replace doc_auto_cfg with doc_cfg Our latest release failed to build on docs.rs [1] because the `doc_auto_cfg` feature has been subsumed by `doc_cfg`: https://github.com/rust-lang/rust/pull/138907 [1]: https://docs.rs/crate/uefi/0.36.0/builds/2603179 --- uefi-raw/src/lib.rs | 2 +- uefi/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/uefi-raw/src/lib.rs b/uefi-raw/src/lib.rs index eb30fab77..eea91479d 100644 --- a/uefi-raw/src/lib.rs +++ b/uefi-raw/src/lib.rs @@ -11,7 +11,7 @@ //! [`uefi`]: https://crates.io/crates/uefi #![no_std] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![deny( clippy::all, clippy::missing_const_for_fn, diff --git a/uefi/src/lib.rs b/uefi/src/lib.rs index 541d2307a..0cd3cb165 100644 --- a/uefi/src/lib.rs +++ b/uefi/src/lib.rs @@ -227,7 +227,7 @@ //! [uefi-std-tr-issue]: https://github.com/rust-lang/rust/issues/100499 //! [unstable features]: https://doc.rust-lang.org/unstable-book/ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![no_std] #![deny( clippy::all,