Open CarlKCarlK opened 9 months ago
I think changing to use u64 would make sense as part of a broader initiative to support wasm32. However, given the crate currently doesn't support anything other than in memory for wasm32, I think it would be a pretty tough sell given the downstream impact of such a change. Not to mention quite hard to test.
[First, sorry for the flurry of issues and thank you for your responsiveness. Second, I apologize that this issue will be vague and without a repro case.]
Rust's file
seek
for local files usesu64
, notusize
. This allows even 32-bit OS to access regions of files beyond 4GB.object_store's
get_range
and many related methods useusize
. This works fine on a 64-bit OS, but on a 32-bit OS (including WASM32) using HTTP I think limits one to the first 4GB of any file.Possible fixes:
Thanks, Carl