Closed ixeft closed 6 years ago
seems like the issue was in https://github.com/rust-lang/libc, @ixeft could you add a comment here whenever nix updates it's libc dependency with the fix?
This is very likely fixed with long-since-updated dependencies.
Hello,
Trying to compile on a Archlinux i686 - Intel Atom Z520
I got a compilation error on this file https://github.com/greshake/i3status-rust/blob/master/src/blocks/disk_space.rs
using "as u64" I got the code compiling but now, with path bigger than 4Gio, I got an overflow getting wrong value of statvfs.f_bfree / statvfs.f_bsize (crazy big values)
Using glibc in C/C++ I would define _LARGEFILE_SOURCE and _LARGEFILE64_SOURCE to solve this problem.
Since I didn't saw any way of doing that using nix-rust, I reported the bug there, anyway @Susurrus suggested that :
Here is the nix-rust issue https://github.com/nix-rust/nix/issues/743
Any Idea of how to correct that (If so, I can provide a pull request) ?
Regards
(However, I'm fine, since I have 13944733703.25GiB available on my disk ;) )