Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upConfusing error message when you attempt to build for a target that rustc isn't prepared for #24544
Comments
steveklabnik
added
the
A-diagnostics
label
Apr 18, 2015
This comment has been minimized.
This comment has been minimized.
|
Fixed. |
brson
closed this
Dec 1, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
posix4e commentedApr 17, 2015
I am trying to build rustboot
rustc -O --target i686-unknown-linux-gnu --crate-type lib -o main.o --emit obj main.rs
Get's
te-type lib -o main.o --emit obj main.rs
main.rs:7:1: 7:19 error: can't find crate for
coremain.rs:7 extern crate core;
^~~~~~~~~~~~~~~~~~
The actual error should tell you that you are trying to build for a target that rustc can't handle.