From 003615a382a7e4935c31a74f85b13da9da7f1f38 Mon Sep 17 00:00:00 2001 From: auronandace Date: Sat, 7 Mar 2026 16:03:14 +0000 Subject: [PATCH] specify the correct arches --- src/header/locale/data.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/header/locale/data.rs b/src/header/locale/data.rs index db81a0ea6e..128f39a184 100644 --- a/src/header/locale/data.rs +++ b/src/header/locale/data.rs @@ -363,7 +363,7 @@ impl PosixLocaleDef { fn parse_int(val: &str) -> Option { let r = val.trim().parse::().ok(); // c_char is u8 on aarch64 and riscv64 so comparison is useless - #[cfg(any(target_arch = "aarch64", target_arch = "riscv64"))] + #[cfg(any(target_arch = "x86", target_arch = "x86_64"))] if r.is_some_and(|i| i < 0) { return None; }