fix(naga): s/os/target_os/ in xtask's FXC/DXC check (#6774)

This commit is contained in:
Erich Gubler 2024-12-17 16:12:24 -05:00 committed by GitHub
parent f6b156e799
commit aaac47c24e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 {