Skip to content

Latest rustc-nightly compiler fails to compile #574

Description

@MonsterDruide1

Specifically, the x86_64-crate needs to be updated.

Recently, the following change was introduced into the nightly compiler:
rust-lang/rust#155114

As a follow-up, the x86_64 crate was updated to add implementations for these new required functions:
rust-osdev/x86_64#595

This PR has been merged and released as part of the 0.15.5 fixes:
https://github.com/rust-osdev/x86_64/blob/master/Changelog.md#0155--2026-07-11

However, this project makes use of the 0.15.2-version, thus compiler errors occur when running with a more recent version of rustc-nightly.

The following places would need to be updated to 0.15.5:
https://github.com/search?q=repo%3Arust-osdev%2Fbootloader%20%22x86_64%20%3D%20%22&type=code

As a temporary workaround, projects making use of this crate can pin to a specific version of the nightly compiler within their rust-toolchain.toml:
channel = "nightly-2026-07-01" still works.

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