Closed w-henderson closed 3 years ago
Update: downgrading to Rust Nightly from 1st March (nightly-2021-03-01) fixed this for me
Thanks a lot for reporting! This is a bug in the bootloader
crate which was presumably triggered by the recent update to LLVM 12 on Rust nightly. I'm already looking into it.
I just published bootloader version 0.9.15. You should be able to fix your errors by running cargo update -p bootloader
. Please let me know if there are still problems!
I'm trying to build a project using bootimage and it successfully builds when I run
cargo build
(not using bootimage to make it bootable), but fails to compile when I runcargo run
on the final step of compiling bootloader with bootimage. I wasn't sure whether to make this issue here or on bootloader, but my project compiles bootloader fine so I figured it was probably an issue with bootimage (or my environment!).I get the following errors:
My target JSON file looks like this:
As a side note, it tells me I can run with
--verbose
to get additional info, but when I do, it only applies to the original build and not to bootloader's runner. I've already tried rebooting and runningcargo clean
.Any advice would be much appreciated!