Closed jac-leadnav closed 2 years ago
It looks like internally libc::getpid
, not std::process::id
is used (see syslog::get_process_info
), and that is the source of the i32.
It would be a breaking change to fix this, and there may be good reason to use libc
over std
, but I cannot conceive of it, thus would appreciate a new major version to make this more ergonomic.
All,
In order to run properly, I must do the following:
If we could change the type of
pid
to beu32
, then we wouldn't have to jump through the overflow check...I've checked and both
Formatter*
structs arei32
forpid
Thanks!
Jason