fix build.rs
This commit is contained in:
parent
ead7a1e1f0
commit
441731de2e
1 changed files with 5 additions and 3 deletions
|
@ -11,7 +11,7 @@ fn main() {
|
|||
|
||||
#[cfg(any(
|
||||
not(any(target_os = "macos", target_os = "windows")),
|
||||
feature = "macos-blade"
|
||||
all(target_os = "macos", feature = "macos-blade")
|
||||
))]
|
||||
check_wgsl_shaders();
|
||||
|
||||
|
@ -28,8 +28,10 @@ fn main() {
|
|||
};
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
#[cfg(not(target_os = "windows"))]
|
||||
#[cfg(any(
|
||||
not(any(target_os = "macos", target_os = "windows")),
|
||||
all(target_os = "macos", feature = "macos-blade")
|
||||
))]
|
||||
fn check_wgsl_shaders() {
|
||||
use std::path::PathBuf;
|
||||
use std::process;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue