Compare commits

..

3 Commits

Author SHA1 Message Date
FineFindus
660390e4a7 Merge 5c3adee95b into 54010c3653 2024-04-09 20:22:57 -07:00
Philipp Oppermann
54010c3653 Merge pull request #1309 from phil-opp/bootloader-version-note
Add a note that only `bootloader v0.9` is compatible
2024-04-09 11:29:01 +02:00
Philipp Oppermann
b8be0c5a5d Add a note that only bootloader v0.9 is compatible 2024-04-09 11:27:15 +02:00

View File

@@ -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