Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(rust): Allow polars to pass cargo check on windows #18672

Merged
merged 3 commits into from
Sep 13, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
refactor(rust): Allow polars to pass cargo check on windows
squnit authored Sep 11, 2024
commit e6f7f8b241ae21c06f3e20911b9da2a284cc770e
4 changes: 3 additions & 1 deletion crates/polars-utils/src/mmap.rs
Original file line number Diff line number Diff line change
@@ -127,7 +127,9 @@ mod private {
}

use memmap::MmapOptions;
use polars_error::{polars_bail, PolarsResult};
#[cfg(target_family = "unix")]
use polars_error::polars_bail;
use polars_error::PolarsResult;
pub use private::MemSlice;

/// A cursor over a [`MemSlice`].