$ cargo run --release
Compiling uart_16550 v0.2.18
Compiling pic8259 v0.10.2
Compiling linked_list_allocator v0.9.1
error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants
--> C:\Users\robin\.cargo\registry\src\github.com-1ecc6299db9ec823\linked_list_allocator-0.9.1\src\lib.rs:224:20
|
224 | LockedHeap(Spinlock::new(Heap::empty()))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
For more information about this error, try `rustc --explain E0015`.
error: could not compile `linked_list_allocator` due to previous error
warning: build failed, waiting for other jobs to finish...
error: build failed