Last active
February 25, 2017 03:54
-
-
Save U007D/8a9dd3c97614f0257a0ae3d8351523e0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat ~/.cargo/config | |
[target.arm-none-eabi] | |
linker = "arm-none-eabi-gcc" | |
Socrates:hello bRad$ cargo build --target=arm-none-eabi | |
error: failed to run `rustc` to learn about target-specific information | |
To learn more, run the command again with --verbose. | |
Socrates:hello bRad$ subl ~/.cargo/config | |
Socrates:hello bRad$ cargo build --target=arm-none-eabi --verbose | |
error: failed to run `rustc` to learn about target-specific information | |
Caused by: | |
process didn't exit successfully: `rustc - --crate-name ___ --print=file-names --crate-type bin --crate-type rlib --target arm-none-eabi` (exit code: 101) | |
--- stderr | |
error: Error loading target specification: Could not find specification for target "arm-none-eabi" | |
| | |
= help: Use `--print target-list` for a list of built-in targets | |
Socrates:hello bRad$ cargo build --target=arm-none-eabi --print target-list | |
error: Unknown flag: '--print' | |
Usage: | |
cargo build [options] | |
Socrates:hello bRad$ cargo build --print target-list | |
error: Unknown flag: '--print' | |
Usage: | |
cargo build [options] | |
Socrates:hello bRad$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment