Skip to content

Commit

Permalink
fix(naga): s/os/target_os/ in xtask's FXC/DXC check (gfx-rs#6774)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErichDonGubler authored Dec 17, 2024
1 parent f6b156e commit aaac47c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion naga/xtask/src/validate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit aaac47c

Please sign in to comment.