Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upfs::metadata - Value too large for defined data type #30050
Comments
This comment has been minimized.
This comment has been minimized.
|
What OS are you on? |
This comment has been minimized.
This comment has been minimized.
|
My platform : x86, linux (debian 8) |
This comment has been minimized.
This comment has been minimized.
|
Yeah it looks like you're trying to open a 17GB+ file in a 32-bit binary but we currently aren't using the LFS functions which allow opening files larger than 4GB on 32-bit Linux platforms. I think this should be a pretty easy change to make, just gotta tweak some structs here and ther! |
This comment has been minimized.
This comment has been minimized.
|
triage: I-nominated Seems like a good thing to categorize on behalf of the libs team though. This will have ramifications on the |
rust-highfive
added
the
I-nominated
label
Nov 25, 2015
alexcrichton
added
the
T-libs
label
Nov 25, 2015
This comment has been minimized.
This comment has been minimized.
|
This discussion was just rekindled on the internals LFS thread too. I'd like to take this on, if no one else is already doing it. |
This comment has been minimized.
This comment has been minimized.
|
@cuviper feel free! |
This comment has been minimized.
This comment has been minimized.
|
Just a small update, I did get a little time to work on this over the holiday, but it's not pull-worthy yet. There's some overlap with #30175 though in fixing up |
This comment has been minimized.
This comment has been minimized.
|
We talked about this in the libs triage meeting yesterday, and the conclusion was that I'll draft up an RFC to write about this as it'll have ramifications on |
alexcrichton
removed
the
I-nominated
label
Dec 17, 2015
This comment has been minimized.
This comment has been minimized.
|
I've now opened an RFC which I hope will help enable us to fix this issue in a "backwards-compatible" fashion |
szagi3891 commentedNov 25, 2015
When i try get info abouth file with function : .metadata()
https://doc.rust-lang.org/std/fs/struct.DirEntry.html#method.metadata
I get an error:
{ repr: Os { code: 75, message: "Value too large for defined data type" } }
This file is in the directory is the size : 17848195008 byte.