phil-opp / blog_os

Writing an OS in Rust

Home Page:http://os.phil-opp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

post-02 broken on bootloader 0.11.3 and Rust nightly 2023-05-06

nolemretaWxd opened this issue · comments

When trying to compile post-02 project on Rust nightly 2023-05-06 and bootloader crate updated to 0.11.3, with rust +nightly bootimage, compiler throws a bunch of errors related to serde library, and getrandom library throwing 'target not supported error'

Version of bootloader that seemingly broke this project was 0.10.0, as it compiles correctly on 0.9.23 (bunch of serde lib errors on 0.11.0 and later, and The bootloader dependency has not the right format on 0.10.x)

Build log: https://pastebin.com/jrWweXDS
Platform I'm trying to build on is Windows x86_64

Now I discovered that even though it compiles correctly, it throws an error upon startup
obraz

Thanks for reporting! The post-02 branch is not compatible with bootloader v0.11. Could you try it with bootloader v0.9? See also #1201.

Thanks for reporting! The post-02 branch is not compatible with bootloader v0.11. Could you try it with bootloader v0.9?

Yes, as I've mentioned in the original post, on bootloader v0.9.23, it compiles correctly, and I don't know what went wrong with previous attempt at running it, but it now runs correctly on unmodified source code