mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 06:44:14 +00:00
re-enable docs for wgpu-core
This commit is contained in:
parent
0fb772b5df
commit
ab17d29237
@ -2,20 +2,6 @@
|
||||
//! It is designed for integration into browsers, as well as wrapping
|
||||
//! into other language-specific user-friendly libraries.
|
||||
//!
|
||||
#![cfg_attr(
|
||||
not(any(not(doc), wgpu_core_doc)),
|
||||
doc = r#"\
|
||||
## Documentation hidden
|
||||
|
||||
As a workaround for [an issue in rustdoc](https://github.com/rust-lang/rust/issues/114891)
|
||||
that [affects `wgpu-core` documentation builds \
|
||||
severely](https://github.com/gfx-rs/wgpu/issues/4905),
|
||||
the documentation for `wgpu-core` is empty unless built with
|
||||
`RUSTFLAGS="--cfg wgpu_core_doc"`, which may take a very long time.
|
||||
"#
|
||||
)]
|
||||
#![cfg(any(not(doc), wgpu_core_doc))]
|
||||
//!
|
||||
//! ## Feature flags
|
||||
#![doc = document_features::document_features!()]
|
||||
//!
|
||||
|
Loading…
Reference in New Issue
Block a user