Skip to content

Broken build #16

@akosnad

Description

@akosnad

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions