-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Description
$ cargo build
Compiling eadb v0.1.5 (E:\eadb)
error[E0425]: cannot find function getuid in crate libc
--> src\build_image.rs:68:30
|
68 | let uid = unsafe { libc::getuid() };
| ^^^^^^ help: a function with a similar name exists: getpid
|
::: C:\Users.cargo\registry\src\mirrors.ustc.edu.cn-12df342d903acd47\libc-0.2.126\src\windows\mod.rs:474:5
|
474 | pub fn getpid() -> ::c_int;
| --------------------------- similarly named function getpid defined here
For more information about this error, try rustc --explain E0425.
error: could not compile eadb due to previous error
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels