From b3562e1053bcbeb6caffc2ff51e8fc614870e690 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 17 Nov 2024 21:38:16 +0100 Subject: [PATCH] hurd: Add domainname field to utsname 158cd3063c11 ("hurd: fix definition of utsname struct") dropped it saying it is unused, but it is still there and read by the platform-info crate, whose build thus got broken. It is less troublesome to just declare the field. --- src/unix/hurd/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/unix/hurd/mod.rs b/src/unix/hurd/mod.rs index 6b9789a500b45..918bd50a11868 100644 --- a/src/unix/hurd/mod.rs +++ b/src/unix/hurd/mod.rs @@ -876,6 +876,7 @@ s! { pub release: [::c_char; _UTSNAME_LENGTH], pub version: [::c_char; _UTSNAME_LENGTH], pub machine: [::c_char; _UTSNAME_LENGTH], + pub domainname: [::c_char; _UTSNAME_LENGTH], } pub struct rlimit64 {