You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0425]: cannot find function `posix_fallocate` in crate `libc`
--> /home/operutka/.cargo/registry/src/github.com-1ecc6299db9ec823/fs2-0.4.3/src/unix.rs:103:30
|
103 | let ret = unsafe { libc::posix_fallocate(file.as_raw_fd(), 0, len as libc::off_t) };
| ^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `SYS_fallocate`
|
::: /home/operutka/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.71/src/unix/uclibc/arm/mod.rs:924:1
When trying to build my project for a uClibc based Linux environment. Apparently, uClibc does not have the posix_fallocate function. Is there any easy way around this?
The text was updated successfully, but these errors were encountered:
Hi! Recently, I stumbled upon this problem:
When trying to build my project for a uClibc based Linux environment. Apparently, uClibc does not have the
posix_fallocate
function. Is there any easy way around this?The text was updated successfully, but these errors were encountered: