Skip to content

Commit

Permalink
throw in the towel for clippy on linux with falcon features
Browse files Browse the repository at this point in the history
  • Loading branch information
rcgoodfellow committed Dec 5, 2023
1 parent a11fdd1 commit 1a5ea36
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions .github/buildomat/jobs/falcon-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ rustc --version

banner check
ptime -m cargo check --features falcon
ptime -m cargo xtask clippy

banner build
ptime -m cargo build --features falcon --release \
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
- uses: dtolnay/rust-toolchain@439cf607258077187679211f12aa6f19af4a0af7 # master @ 2023-10-08
with:
toolchain: stable
target: x86_64-unknown-illumos
- name: Report clippy version
run: cargo clippy -- --version
- name: Check clippy
Expand Down
21 changes: 11 additions & 10 deletions xtask/src/task_clippy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,17 @@ pub(crate) fn cmd_clippy(strict: bool, quiet: bool) -> Result<()> {
run_clippy(&["-p", "propolis-server", "--features", "omicron-build"])?;

// Check the Falcon bits
failed |= run_clippy(&[
"--features",
"falcon",
"-p",
"propolis-server",
"-p",
"propolis-client",
"--target",
"x86_64-unknown-illumos",
])?;
#[cfg(target_os = "illumos")]
{
failed |= run_clippy(&[
"--features",
"falcon",
"-p",
"propolis-server",
"-p",
"propolis-client",
])?;
}

// Check the mock server
failed |= run_clippy(&["-p", "propolis-mock-server"])?;
Expand Down

0 comments on commit 1a5ea36

Please sign in to comment.