Broken build
akosnad opened this issue · 2 comments
akosnad commented
On the latest nightly 1.49.0-nightly (ffa2e7ae8 2020-10-24) the dependency x86_64 ^0.11.0 is causing the issue. One of the build-time errors is, for example:
error[E0658]: mutable references are not allowed in constant functions
--> C:\Users\xxxx\.cargo\registry\src\github.com-1ecc6299db9ec823\x86_64-0.11.8\src\structures\idt.rs:402:30
|
402 | interrupts: [Entry::missing(); 256 - 32],
| ^^^^^^^^^^^^^^^^
|
= note: see issue #57349 <https://github.com/rust-lang/rust/issues/57349> for more information
= help: add `#![feature(const_mut_refs)]` to the crate attributes to enable
I think this is due to the new rust feature const_mut_refs and the issue has been fixed in x86_64 ^0.12. A dependency bump would be great :)
RKennedy9064 commented
akosnad commented
I built it from the dev branch and everything works as expected for me. Awesome, thanks! :)