Skip to content

Commit bfde56e

Browse files
committed
Finally ran cargo hack
Signed-off-by: Adam Gutglick <[email protected]>
1 parent 73cd0ba commit bfde56e

File tree

6 files changed

+11
-10
lines changed

6 files changed

+11
-10
lines changed

vortex-btrblocks/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ pub trait Compressor {
281281
/// Evaluates all available schemes against the provided statistics and returns
282282
/// the one with the highest compression ratio. Falls back to the default scheme
283283
/// if no scheme provides compression benefits.
284-
#[expect(clippy::cognitive_complexity)]
284+
#[allow(clippy::cognitive_complexity)]
285285
fn choose_scheme(
286286
stats: &Self::StatsType,
287287
is_sample: bool,

vortex-duckdb/src/convert/expr.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ fn like_pattern_str(value: &duckdb::Expression) -> VortexResult<Option<String>>
4343
}
4444
}
4545

46+
#[allow(clippy::cognitive_complexity)]
4647
pub fn try_from_bound_expression(value: &duckdb::Expression) -> VortexResult<Option<Expression>> {
4748
let Some(value) = value.as_class() else {
4849
tracing::debug!("no expression class id {:?}", value.as_class_id());

vortex-ffi/build.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ use std::env;
77
use std::path::PathBuf;
88

99
fn main() {
10+
// Set up dependency tracking
11+
println!("cargo:rerun-if-changed=src/");
12+
println!("cargo:rerun-if-changed=cbindgen.toml");
13+
println!("cargo:rerun-if-changed=Cargo.toml");
14+
println!("cargo:rerun-if-changed=build.rs");
15+
1016
// Skip header generation in environments where cbindgen macro expansion fails
1117
if env::var("MIRI").is_ok() || env::var("MIRIFLAGS").is_ok() {
1218
println!("cargo:warning=Skipping header generation under miri (cbindgen incompatible)");
@@ -59,10 +65,4 @@ fn main() {
5965
panic!("Failed to generate header with cbindgen: {}", e);
6066
}
6167
}
62-
63-
// Set up dependency tracking
64-
println!("cargo:rerun-if-changed=src/");
65-
println!("cargo:rerun-if-changed=cbindgen.toml");
66-
println!("cargo:rerun-if-changed=Cargo.toml");
67-
println!("cargo:rerun-if-changed=build.rs");
6868
}

vortex-ffi/cinclude/vortex.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ vx_array_iterator *vx_file_scan(const vx_session *session,
736736
/**
737737
* Set the stderr logger to output at the specified level.
738738
*
739-
* This function is optional, if it is not called then no logger will be installed.
739+
* The logger will only be installed on the first call.
740740
*/
741741
void vx_set_log_level(vx_log_level level);
742742

vortex-io/src/file/driver.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ impl State {
125125
}
126126
}
127127

128-
#[expect(clippy::cognitive_complexity)]
128+
#[allow(clippy::cognitive_complexity)]
129129
fn on_event(&mut self, event: ReadEvent) {
130130
tracing::debug!(?event, "Received ReadEvent");
131131
match event {

vortex-io/src/read.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ impl<T> Drop for InstrumentedReadAt<T>
181181
where
182182
T: VortexReadAt,
183183
{
184-
#[expect(clippy::cognitive_complexity)]
184+
#[allow(clippy::cognitive_complexity)]
185185
fn drop(&mut self) {
186186
let sizes = self.sizes.snapshot();
187187
tracing::debug!("Reads: {}", self.sizes.count());

0 commit comments

Comments
 (0)