Closed vorner closed 5 years ago
Closing this ‒ thinking about it more, it makes very little sense, since Arc
is dependent on std
(or at least alloc
‒ so once Rust has support for the tiered std, it might make sense to check alloc
is enough).
I guess it should be possible to implement (or modify the implementation) to work in no-std case, just using the core or alloc levels. But opting into no-std probably requires nightly, so it might need to be behind a feature-gate (the question is if positive or negative ‒ it probably makes more sense to have a default feature of „use-std“).