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
I've tried using your crate to log to a remote syslog server from my ESP32, but with version >=6.0.0 compilation fails like that:
error[E0425]: cannot find value `_SC_HOST_NAME_MAX` in crate `libc`
--> /home/user/.cargo/registry/src/github.com-1...3/hostname-0.3.1/src/nix.rs:17:38
|
17 | unsafe { libc::sysconf(libc::_SC_HOST_NAME_MAX) as libc::size_t };
| ^^^^^^^^^^^^^^^^^ not found in `libc`
and with version <= 5.0.0 like that:
error[E0609]: no field `tm_gmtoff` on type `tm`
--> /home/user/.cargo/registry/src/github.com-1...3/time-0.1.45/src/sys.rs:392:30
|
392 | let gmtoff = out.tm_gmtoff;
| ^^^^^^^^^ unknown field
The text was updated successfully, but these errors were encountered:
I've tried using your crate to log to a remote syslog server from my ESP32, but with version >=6.0.0 compilation fails like that:
and with version <= 5.0.0 like that:
The text was updated successfully, but these errors were encountered: