Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build on latest nightly #230

Merged
merged 1 commit into from
Feb 2, 2021
Merged

Conversation

KernelFreeze
Copy link
Contributor

The feature const_in_array_repeat_expressions was removed on the latest Rust nightly, removing the feature fixes a hard compilation error on all crates that import x86_64 in nightly.

error[E0557]: feature has been removed
 --> /home/kernel/.cargo/registry/src/github.com-1ecc6299db9ec823/x86_64-0.13.1/src/lib.rs:9:43
  |
9 | #![cfg_attr(feature = "const_fn", feature(const_in_array_repeat_expressions))]
  |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed
  |
  = note: removed due to causing promotable bugs

error: aborting due to previous error

For more information about this error, try `rustc --explain E0557`.
error: could not compile `x86_64`

@phil-opp
Copy link
Member

phil-opp commented Feb 2, 2021

Thanks a lot!

@phil-opp phil-opp merged commit 11cb243 into rust-osdev:master Feb 2, 2021
phil-opp added a commit that referenced this pull request Feb 2, 2021
@phil-opp
Copy link
Member

phil-opp commented Feb 2, 2021

Published as v0.13.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants