Skip to content

Commit

Permalink
fix(xtask): run clippy for gem-net on riscv64
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kröning <[email protected]>
  • Loading branch information
mkroening committed Apr 30, 2024
1 parent ccd01a4 commit cb29f84
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions xtask/src/clippy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ impl Clippy {
.arg("--no-default-features")
.arg("--features=acpi,fsgsbase,pci,smp,vga")
.run()?;

if target == Arch::Riscv64 {
cmd!(sh, "cargo clippy --target={triple}")
.arg("--no-default-features")
.arg("--features=gem-net,tcp")
.arg("--")
.arg("-Wwarnings")
.run()?;
}

// TODO: Enable clippy for newlib
// https://github.com/hermit-os/kernel/issues/470
// cmd!(sh, "cargo clippy --target={triple}")
Expand Down

0 comments on commit cb29f84

Please sign in to comment.