From b339a4823298063f7021b7437f9148c918136ef0 Mon Sep 17 00:00:00 2001 From: Mark Hildebrand Date: Thu, 2 Apr 2026 10:29:14 -0700 Subject: [PATCH 1/2] Use `--all-targets` for the no-default-features CI run. --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 375c3307e..4b09ee466 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -157,6 +157,7 @@ jobs: for crate in "${crates[@]}"; do cargo clippy --locked --package "$crate" \ --no-default-features \ + --all-targets \ --profile ci \ --no-deps \ --config "$RUST_CONFIG" \ From cc4d3a60dfd3e252526108b848d0ca0a69f4ef2a Mon Sep 17 00:00:00 2001 From: Mark Hildebrand Date: Fri, 3 Apr 2026 08:35:36 -0700 Subject: [PATCH 2/2] Fix CI. --- diskann-benchmark-core/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/diskann-benchmark-core/src/lib.rs b/diskann-benchmark-core/src/lib.rs index fbf5d44d6..920a7fe20 100644 --- a/diskann-benchmark-core/src/lib.rs +++ b/diskann-benchmark-core/src/lib.rs @@ -60,10 +60,10 @@ pub mod streaming; /// If error message change, the expected results can generally be regenerated by running /// the test suite with the environment variable /// ```text -/// DISKANN_BENCHMARK_TEST=true +/// DISKANN_BENCHMARK_TEST=overwrite /// ``` /// set. -#[cfg(test)] +#[cfg(all(test, feature = "bigann"))] mod ux { const ENV_VAR: &str = "DISKANN_BENCHMARK_TEST";