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

Update posts to fix build on latest nightly #990

Merged
merged 4 commits into from
May 17, 2021
Merged

Conversation

phil-opp
Copy link
Owner

@phil-opp phil-opp commented May 17, 2021

This implements the following three dependency updates to fix the build on the latest Rust nightlies:

  • x86_64 from 0.13.2 to 0.14.2: This includes some breaking changes around the x86-interrupt calling convention, which requires changing the &mut InterruptStackFrame parameters in interrupt handler functions to InterruptStackFrame parameters (by-value instead of by-reference).
  • From pic8259_simple v0.2.0 to pic8259 v0.10.0: The original crate seems to be no longer maintained, but changes in Rust nightly require adjustments. For this reason, we forked the crate as pic8259. Apart from adjusting the crate name and version number, no changes should be necessary.
  • linked_list_allocator from v0.8.0 to v0.9.0: This shouldn't require any adjustments.

The post-xx branches were already updated:

Fixes #982 and #980

@phil-opp phil-opp added the relnotes "Release notes" – Notable changes that are rendered on the blog. label May 17, 2021
@phil-opp phil-opp merged commit 732014c into main May 17, 2021
@phil-opp phil-opp deleted the blog-nightly-fixes branch May 17, 2021 13:55
mayant15 added a commit to mayant15/bottleos that referenced this pull request May 18, 2021
A few dependencies had to be updated to conform with breaking changes in the newest nightly toolchain. See phil-opp/blog_os#990 for more details.
a2not added a commit to a2not/nokos that referenced this pull request May 20, 2021
GitNiko added a commit to GitNiko/writing-an-os-in-rust that referenced this pull request Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
relnotes "Release notes" – Notable changes that are rendered on the blog.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

x86_64 0.13.2 seems to not work out-of-the-box anymore. 0.14.1 works well
1 participant