-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
Environment
- OS: Termux on Android 12
- Dotter version: 61ebe01 and later
Description
61ebe01 introduced a new transitive dependency on pwd
, which does not build on Android due to getpwent
and friends being unavailable in bionic.
error[E0432]: unresolved imports `libc::endpwent`, `libc::getpwent`, `libc::setpwent` --> /data/data/com.termux/files/home/.cargo/registry/src/github.com-1ecc6299db9ec823/pwd-1.3.1/src/unix.rs:2:20
|
2 | use libc::{c_char, endpwent, getpwent, getpwnam, getpwuid, getuid, passwd, setpwent};
| ^^^^^^^^ ^^^^^^^^ no `getpwent` in the root ^^^^^^^^ no `setpwent` in the root
| | no `endpwent` in the root
| help: a similar name exists in the module
|
2 | use libc::{c_char, endpwent, getutent, getpwnam, getpwuid, getuid, passwd, setpwent};
| ~~~~~~~~ help: a similar name exists in the module
|
2 | use libc::{c_char, endpwent, getpwent, getpwnam, getpwuid, getuid, passwd, setutent};
| ~~~~~~~~
For more information about this error, try `rustc --explain E0432`.
error: could not compile `pwd` due to previous error