mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
Fix docs.rs build (#8292)
This commit is contained in:
parent
d28fb4d776
commit
e73d0558f0
@ -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,
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user