From 751f24e9280fc74d5e5f8be7ad183fffc3253d2c Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Mon, 13 Sep 2021 08:44:30 +0200 Subject: [PATCH] Allow arc pool on thumbv6 --- src/pool/singleton.rs | 1 + src/pool/singleton/arc.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/pool/singleton.rs b/src/pool/singleton.rs index 2dd6ba92..506b5e47 100644 --- a/src/pool/singleton.rs +++ b/src/pool/singleton.rs @@ -17,6 +17,7 @@ pub mod arc; /// Instantiates a pool as a global singleton // NOTE(any(test)) makes testing easier (no need to enable Cargo features for testing) #[cfg(any( + armv6m, armv7a, armv7r, armv7m, diff --git a/src/pool/singleton/arc.rs b/src/pool/singleton/arc.rs index 2eb55683..d110817e 100644 --- a/src/pool/singleton/arc.rs +++ b/src/pool/singleton/arc.rs @@ -92,6 +92,7 @@ use crate::pool::{self, stack::Ptr, Node}; /// Instantiates a pool of Arc pointers as a global singleton // NOTE(any(test)) makes testing easier (no need to enable Cargo features for testing) #[cfg(any( + armv6m, armv7a, armv7r, armv7m,