We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
--all-targets
1 parent 0ced23d commit 55e157aCopy full SHA for 55e157a
2 files changed
.github/workflows/ci.yml
@@ -157,6 +157,7 @@ jobs:
157
for crate in "${crates[@]}"; do
158
cargo clippy --locked --package "$crate" \
159
--no-default-features \
160
+ --all-targets \
161
--profile ci \
162
--no-deps \
163
--config "$RUST_CONFIG" \
diskann-benchmark-core/src/lib.rs
@@ -60,10 +60,10 @@ pub mod streaming;
60
/// If error message change, the expected results can generally be regenerated by running
61
/// the test suite with the environment variable
62
/// ```text
63
-/// DISKANN_BENCHMARK_TEST=true
+/// DISKANN_BENCHMARK_TEST=overwrite
64
/// ```
65
/// set.
66
-#[cfg(test)]
+#[cfg(all(test, feature = "bigann"))]
67
mod ux {
68
const ENV_VAR: &str = "DISKANN_BENCHMARK_TEST";
69
0 commit comments