rust-osdev / bootimage

Tool to create bootable disk images from a Rust OS kernel.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bootloader cannot find crate core

Lord-Remington-the-3rd opened this issue · comments

error[E0461]: couldn't find crate core with expected target triple x86_64-bootloader-8493042128464191786
|
= note: the following crate versions were found:
crate core, target triple x86_64-bootloader-14747452034751789700: /home/tinyman/Documents/kern/target/bootimage/bootloader/bootloader-sysroot/lib/rustlib/x86_64-bootloader/lib/libcore-6c95d5ee8df52f8b.rmeta
crate core, target triple x86_64-bootloader-14747452034751789700: /home/tinyman/Documents/kern/target/bootimage/bootloader/bootloader-sysroot/lib/rustlib/x86_64-bootloader/lib/libcore-6c95d5ee8df52f8b.rlib

error: aborting due to previous error

####################################################################################################
I dont know why this is happening tbh...

Cargo.toml.txt
x64_target.json.txt

NIGHTLY VERSION: 1.46
RUST EDITION: 2018

BOOTIMAGE VERSION: 0.9.4 (tried that all the way down to 0.9.2

Could you try running cargo clean and then trying it again?

Sweet, it worked. Thank your sir! And thank you for this wonderful program and your wonderful tutorial!

You're welcome!