Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when llvm-tools-preview not installed could be clearer #79

Open
AlyoshaVasilieva opened this issue Jul 5, 2020 · 0 comments · May be fixed by #86
Open

Error when llvm-tools-preview not installed could be clearer #79

AlyoshaVasilieva opened this issue Jul 5, 2020 · 0 comments · May be fixed by #86

Comments

@AlyoshaVasilieva
Copy link

I switched a project of mine from stable Rust to nightly Rust recently, and it was very confusing when later I noticed cargo objcopy wasn't working. The error is:

Failed to execute tool: objcopy
The system cannot find the file specified. (os error 2)

I'd also renamed my project in the meantime, so I got stuck down a tangent trying to figure out how renaming my project broke objcopy, assuming that it wasn't able to find the build output, rather than objcopy itself. It'd be nice if it reminded the user to ensure llvm-tools-preview is present on the current toolchain.

ZeroErrors added a commit to ZeroErrors/cargo-binutils that referenced this issue Aug 1, 2020
@ZeroErrors ZeroErrors linked a pull request Aug 3, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant