I'm attempting to port tuigreet, a console login manager for wayland and
get the following error:
target/release/deps/libzeroize-0e3d128c1a3e9e3b.rlib`
error[E0599]: no method named `domainname` found for struct `UtsName` in the
current scope
--> crates/tuigreet/src/info.rs:115:31
|
115 | .replace("\\o", uts.domainname().to_str().unwrap_or(""))
| ^^^^^^^^^^ method not found in `UtsName`
For more information about this error, try `rustc --explain E0599`.
error: could not compile `tuigreet` (bin "tuigreet") due to 1 previous error
My understanding is that 'domainname' is a linuxism and OpenBSD uses
'domain'.
I'm guessing the UtsName crate needs to be patched or domainname
declared in the build environment. Is there a workaround that I have
not found in the rust/cargo documentation? Any recommendations on how
to work through this?
Thanks,
--
J. Scott Heppler