Open 58celep58 opened 1 year ago
Thanks a lot for reporting! See https://github.com/Amanieu/parking_lot/issues/277. Looks like the underlying issue is in rustc: https://github.com/rust-lang/rust/issues/99668.
If you don't need the LockedHeap
type, you should be able to work around this issue by disabling the default features in your dependency:
[dependencies]
linked_list_allocator = { version = "0.10.4", default-features = false }
Probably it needs a feature from spin for portable_atomic:
https://github.com/mvdnes/spin-rs/tree/master#feature-flags
which allows:
[target.
I don't know if this is an issue and I would like to apologize for that. (It is my first issue that i wrote. )
What I did was only include the linked_list_allocator in the Cargo.toml .
Terminal Output:
The problem is that the Riscv32i does not contain an atomic instruction set (A) and that is why the error occurs.
I do not know if I have forgotten something or if it is a bug.