Skip to content

Commit ac4aa3a

Browse files
committed
fix
Signed-off-by: Joe Isaacs <[email protected]>
1 parent f3e9fae commit ac4aa3a

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ jobs:
448448
tool: nextest
449449
- name: Rust Tests (Windows)
450450
if: matrix.os == 'windows-x64'
451-
run: cargo nextest run --locked --workspace --all-features --no-fail-fast --exclude bench-vortex --exclude vortex-python --exclude vortex-duckdb
451+
run: cargo nextest run --locked --workspace --all-features --no-fail-fast --exclude bench-vortex --exclude vortex-python --exclude vortex-duckdb --exclude vortex-fuzz
452452
- name: Rust Tests (Other)
453453
if: matrix.os != 'windows-x64'
454454
run: cargo nextest run --locked --workspace --all-features --no-fail-fast --exclude bench-vortex

vortex-io/src/file/object_store.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,8 @@ impl ReadSource for ObjectStoreIoSource {
125125
)
126126
.await?;
127127

128-
#[cfg_attr(unix, allow(unused_mut))]
129128
let buffer = match response.payload {
130-
object_store::GetResultPayload::File(mut file, _) => {
129+
object_store::GetResultPayload::File(file, _) => {
131130
// SAFETY: We're setting the length to the exact size we're about to read.
132131
// The read_exact_at call will either fill the entire buffer or return an error,
133132
// ensuring no uninitialized memory is exposed.

vortex-io/src/file/std_file.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use std::fs::File;
66
use std::io::{Read, Seek};
77
#[cfg(unix)]
88
use std::os::unix::fs::FileExt;
9-
#[cfg(all(not(unix), windows))]
9+
#[cfg(windows)]
1010
use std::os::windows::fs::FileExt;
1111
use std::path::{Path, PathBuf};
1212
use std::sync::Arc;

0 commit comments

Comments
 (0)