Skip to content

Commit

Permalink
chore(core): add 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).
  • Loading branch information
ErichDonGubler committed Aug 13, 2024
1 parent b258b08 commit 3d8b7f7
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 3d8b7f7

Please sign in to comment.