Skip to content

Conversation

Trojanking123
Copy link

@Trojanking123 Trojanking123 commented Sep 4, 2025

When the tokio feature is enabled in vortex-io, use #[cfg(windows)] or #[cfg(unix)] to call different APIs.
To fix bug #4470

Copy link

codecov bot commented Sep 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.88%. Comparing base (4221ad8) to head (daf101e).
⚠️ Report is 15 commits behind head on develop.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

file.read_exact_at(&mut buffer, 0).is_ok()
#[cfg(unix)]
{
use std::os::unix::fs::FileExt;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we better using https://docs.rs/positioned-io/latest/positioned_io/ do you think?

Sorry, not dropping this PR, we're just making lots of changes to I/O at the moment!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants