Closed terrarier2111 closed 2 years ago
Try installing it from a different directory. E.g.:
cd /tmp
cargo install bootimage
The problem might be that cargo applies some settings of the .cargo/config.toml
settings to the install
command as well. If it still doesn't work from a different dir, please let me know!
Normally the .cargo/config.toml
should be ignored for cargo installed
though. Do you have some global .cargo/config.toml
directly in your $HOME directory by any chance?
Beat me to it! As a noob I was having the same problem and discovered this solution a few hours ago.
OP, see: https://doc.rust-lang.org/cargo/reference/config.html
I fixed it by pulling the repo from my workstation from github (so the issue wasn't in any of the cargo config related files at all) it had something to do with the project itself idk what exactly it was tho
Thanks for yall's help tho
~Hello @phil-opp , I currently have the same issue and installing from a different location (tested on /tmp) doesn't solve the problem, tried uninstalling and installing multiple times but doesn't help. Do you have any clue?~
Nevermind, I was not using the nightly channel
Just for the record: i added the "#![no_std]" and "#![no_main]" to the top of my main file. When trying to install bootimage (using
cargo install bootimage
) , when reaching the 21st dependency it starts spitting out warnings like this:my cargo.toml:
my cargo.lock:
my config.toml: