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
parent b49d34ebf0
commit b248ecba31

View File

@@ -186,7 +186,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))]
#[cfg(feature = "rwh_04")]
pub use rwh_04 as raw_window_handle_04;