From cd88c1453518d8c064a1ef43bb037764cb2b0df4 Mon Sep 17 00:00:00 2001 From: MutsukiC Date: Thu, 30 Apr 2026 09:41:07 +0800 Subject: [PATCH] Fix: enable stdarch_loongarch feature for stdext crate --- crates/stdext/src/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/crates/stdext/src/lib.rs b/crates/stdext/src/lib.rs index c85378bb73e..860b6ad563e 100644 --- a/crates/stdext/src/lib.rs +++ b/crates/stdext/src/lib.rs @@ -3,6 +3,12 @@ //! Arena allocators. Small and fast. +#![cfg_attr( + target_arch = "loongarch64", + feature(stdarch_loongarch), + allow(clippy::incompatible_msrv) +)] + pub mod alloc; pub mod arena; pub mod collections;