Skip to content

Commit

Permalink
Merge pull request #1309 from phil-opp/bootloader-version-note
Browse files Browse the repository at this point in the history
Add a note that only `bootloader v0.9` is compatible
  • Loading branch information
phil-opp committed Apr 9, 2024
2 parents 9271bb1 + b8be0c5 commit 54010c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions blog/content/edition-2/posts/02-minimal-rust-kernel/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,8 @@ Instead of writing our own bootloader, which is a project on its own, we use the
bootloader = "0.9"
```

**Note:** This post is only compatible with `bootloader v0.9`. Newer versions use a different build system and will result in build errors when following this post.

Adding the bootloader as a dependency is not enough to actually create a bootable disk image. The problem is that we need to link our kernel with the bootloader after compilation, but cargo has no support for [post-build scripts].

[post-build scripts]: https://github.com/rust-lang/cargo/issues/545
Expand Down

0 comments on commit 54010c3

Please sign in to comment.