kahing / catfs

Cache AnyThing filesystem written in Rust
Apache License 2.0
842 stars 54 forks source link

Fix 32-bit compilation errors #30

Closed gaul closed 4 years ago

gaul commented 4 years ago

This allows tests to pass on Raspberry Pi. Upgrade libc crate to get access to some 64-bit variants. Fixes #14.

gaul commented 4 years ago

Can use off64_t, pwrite64, etc. to fix large files.

gaul commented 4 years ago

Updated to use 64-bit variants.

gaul commented 4 years ago

This is the right thing to do but it will further break macOS support since the platform lacks the *64 libc variants. Will need to follow up after merging.

gaul commented 4 years ago

It looks like Travis failed for reasons unrelated to this pull request. I opened #43.