mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
fix(naga): s/os/target_os/ in xtask's FXC/DXC check (#6774)
This commit is contained in:
parent
f6b156e799
commit
aaac47c24e
@ -159,7 +159,7 @@ fn collect_validation_jobs(jobs: &mut Vec<Job>, cmd: ValidateSubcommand) -> anyh
|
||||
// that to Windows as well.
|
||||
ValidateSubcommand::Hlsl(
|
||||
ValidateHlslCommand::Dxc | ValidateHlslCommand::Fxc,
|
||||
) => cfg!(os = "windows"),
|
||||
) => cfg!(target_os = "windows"),
|
||||
ValidateSubcommand::All => continue,
|
||||
};
|
||||
if should_validate {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user