Skip to content

Commit

Permalink
fix(xtask): enable clippy for x86_64-fc
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de>
  • Loading branch information
mkroening committed Feb 7, 2024
1 parent 96e99f2 commit 64a0357
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions xtask/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,11 @@ impl flags::Clippy {
// https://github.com/hermitcore/loader/issues/78
// TODO: Enable clippy for x86_64-uefi
// https://github.com/hermitcore/loader/issues/122
for target in [Target::X86_64, Target::Riscv64] {
for target in [Target::X86_64, Target::X86_64Fc, Target::Riscv64] {
target.install()?;
let triple = target.triple();
cmd!(sh, "cargo clippy --target={triple}").run()?;
let feature_flags = target.feature_flags();
cmd!(sh, "cargo clippy --target={triple} {feature_flags...}").run()?;
}

cmd!(sh, "cargo clippy --package xtask").run()?;
Expand Down

0 comments on commit 64a0357

Please sign in to comment.