winit: silence wasm on nightly

The lint is needed for stable, but is no longer present on nightly, so
silence it for the time being.
This commit is contained in:
Kirill Chibisov 2025-06-22 19:29:27 +09:00 committed by GitHub
parent 50c0180af3
commit 552c7a6252
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -282,7 +282,7 @@
#![allow(clippy::missing_safety_doc)]
#![warn(clippy::uninlined_format_args)]
// TODO: wasm-binding needs to be updated for that to be resolved, for now just silence it.
#![cfg_attr(web_platform, allow(unknown_lints, wasm_c_abi))]
#![cfg_attr(web_platform, allow(unknown_lints, renamed_and_removed_lints, wasm_c_abi))]
// Re-export DPI types so that users don't have to put it in Cargo.toml.
#[doc(inline)]