fix: extern crate alloc when alloc feature active AND (no_std OR wasm32v1-none target)

This commit is contained in:
2026-04-23 03:29:47 +03:00
parent 5d546231a1
commit c0bdb88b70
+1 -1
View File
@@ -102,7 +102,7 @@
////////////////////////////////////////////////////////////////////////////////
#[cfg(all(not(feature = "std"), feature = "alloc"))]
#[cfg(all(feature = "alloc", any(not(feature = "std"), target_os = "none")))]
extern crate alloc;
// Explicitly import core crate for no_std targets (especially wasm32v1-none)