diff --git a/Cargo.lock b/Cargo.lock index 1db853f8a..885b457e0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -571,9 +571,9 @@ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" [[package]] name = "cfg_aliases" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" +checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527" [[package]] name = "cgl" diff --git a/Cargo.toml b/Cargo.toml index 2ec57705a..59c9ef0a1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -123,7 +123,7 @@ bytemuck = { version = "1.22", features = [ "min_const_generics", ] } cargo_metadata = "0.23" -cfg_aliases = "0.2.1" +cfg_aliases = "0.2.2" cfg-if = "1" codespan-reporting = { version = "0.13", default-features = false } diff = "0.1" diff --git a/naga/build.rs b/naga/build.rs index b4536f0d8..30af3c964 100644 --- a/naga/build.rs +++ b/naga/build.rs @@ -1,8 +1,3 @@ -#![allow( - semicolon_in_expressions_from_macros, - reason = "work around " -)] - fn main() { cfg_aliases::cfg_aliases! { dot_out: { feature = "dot-out" }, diff --git a/naga/fuzz/build.rs b/naga/fuzz/build.rs index 07a3dfde9..692660611 100644 --- a/naga/fuzz/build.rs +++ b/naga/fuzz/build.rs @@ -1,8 +1,3 @@ -#![allow( - semicolon_in_expressions_from_macros, - reason = "work around " -)] - fn main() { cfg_aliases::cfg_aliases! { fuzzable_platform: { not(any(target_arch = "wasm32", target_os = "ios", target_os = "openbsd", all(windows, target_arch = "aarch64"))) }, diff --git a/wgpu-core/build.rs b/wgpu-core/build.rs index 34497b4ce..849afb835 100644 --- a/wgpu-core/build.rs +++ b/wgpu-core/build.rs @@ -1,8 +1,3 @@ -#![allow( - semicolon_in_expressions_from_macros, - reason = "work around " -)] - fn main() { cfg_aliases::cfg_aliases! { windows_linux_android: { any(windows, target_os = "linux", target_os = "android", target_os = "freebsd") }, diff --git a/wgpu-hal/build.rs b/wgpu-hal/build.rs index 58c2b274d..dc441284c 100644 --- a/wgpu-hal/build.rs +++ b/wgpu-hal/build.rs @@ -1,8 +1,3 @@ -#![allow( - semicolon_in_expressions_from_macros, - reason = "work around " -)] - fn main() { cfg_aliases::cfg_aliases! { native: { not(target_family = "wasm") }, diff --git a/wgpu/build.rs b/wgpu/build.rs index 143b8cc0a..7490e49e7 100644 --- a/wgpu/build.rs +++ b/wgpu/build.rs @@ -1,8 +1,3 @@ -#![allow( - semicolon_in_expressions_from_macros, - reason = "work around " -)] - fn main() { cfg_aliases::cfg_aliases! { native: { not(target_family = "wasm") },