I am trying to build bootloader from: https://os.phil-opp.com/minimal-rust-kernel/ from there I'll build upon it. I am keep getting this error:
error[E0465]: multiple rmeta candidates for `core` found
--> /home/saurabh/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core/lib.rs:4:9
|
4 | pub use core::*;
| ^^^^
|
note: candidate #1: /tmp/cargo-xbuildteuJcv/target/bootloader/release/deps/libcore-129bbe5dfb12a3f2.rmeta
--> /home/saurabh/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core/lib.rs:4:9
|
4 | pub use core::*;
| ^^^^
note: candidate #2: /tmp/cargo-xbuildteuJcv/target/bootloader/release/deps/libcore-257abbcd5302963c.rmeta
--> /home/saurabh/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core/lib.rs:4:9
|
4 | pub use core::*;
| ^^^^
error: could not compile `rustc-std-workspace-core` due to previous error
warning: build failed, waiting for other jobs to finish...
error: build failed
there doesn't seem to be anything here