From 3b9514ad38ab9dedda5064703508d1afd59454aa Mon Sep 17 00:00:00 2001 From: chyyran Date: Fri, 9 Aug 2024 00:25:04 -0400 Subject: [PATCH] doc: allow wgpu doc on apple --- librashader/src/lib.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/librashader/src/lib.rs b/librashader/src/lib.rs index 284306e..13c0d8e 100644 --- a/librashader/src/lib.rs +++ b/librashader/src/lib.rs @@ -318,18 +318,7 @@ pub mod runtime { #[cfg(feature = "runtime-wgpu")] #[doc(cfg(feature = "runtime-wgpu"))] /// Shader runtime for wgpu. - #[cfg_attr( - all( - feature = "runtime-wgpu", - all(target_vendor = "apple", feature = "docsrs") - ), - doc = "\n\nThe wgpu runtime is available on macOS and iOS, but technical reasons prevent them from rendering on docs.rs. -\n\n This is because wgpu on macOS and iOS link to [metal-rs](https://github.com/gfx-rs/metal-rs), which can not build on docs.rs. - See [SSheldon/rustc-objc-exception#13](https://github.com/SSheldon/rust-objc-exception/issues/13) for more details. -\n\n The wgpu runtime is identical for all supported operating systems, so please refer to documentation from another operating system." - )] pub mod wgpu { - #[cfg(not(all(target_vendor = "apple", feature = "docsrs")))] pub use librashader_runtime_wgpu::{ error, options::{