From 5a69226af6eeee154aeffa9957ad526b16f5da2c Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Tue, 14 Jan 2025 12:24:33 -0700 Subject: [PATCH] Fix compilation with new nightly --- src/header/glob/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/header/glob/mod.rs b/src/header/glob/mod.rs index 0041fe2f61..9eb9697332 100644 --- a/src/header/glob/mod.rs +++ b/src/header/glob/mod.rs @@ -41,9 +41,8 @@ pub const GLOB_ABORTED: c_int = 2; // Pattern does not match any existing pathname, and GLOB_NOCHECK was not set pub const GLOB_NOMATCH: c_int = 3; -#[linkage = "weak"] // GNU prefers its own glob e.g. in Make -#[repr(C)] #[derive(Debug)] +#[repr(C)] pub struct glob_t { pub gl_pathc: size_t, // Count of paths matched by pattern (POSIX required field) pub gl_offs: size_t, // Slots to reserve at the beginning of gl_pathv (POSIX required field)