Skip to content

Commit

Permalink
chore(core): allow wgpu_* cfg keys not exposed in features
Browse files Browse the repository at this point in the history
This resolves remaining outstanding cases that offend [`--check-cfg` in
Rust
1.80](https://blog.rust-lang.org/2024/07/25/Rust-1.80.0.html#checked-cfg-names-and-values)
in `wgpu-core`.
  • Loading branch information
ErichDonGubler committed Sep 19, 2024
1 parent 58e6471 commit fda1128
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wgpu-core/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ fn main() {
metal: { all(any(target_os = "ios", target_os = "macos"), feature = "metal") },
vulkan: { all(not(target_arch = "wasm32"), feature = "vulkan") }
}
println!("cargo::rustc-check-cfg=cfg(wgpu_core_doc)");
println!("cargo::rustc-check-cfg=cfg(wgpu_validate_locks)");
}

0 comments on commit fda1128

Please sign in to comment.