Closed toothbrush7777777 closed 4 years ago
Should work just fine now, please open another ticket if it still doesn't work for you.
running cargo install -f cargo-binutils causes the following error: Updating crates.io index Installing cargo-binutils v0.3.6 Compiling proc-macro2 v1.0.51 Compiling quote v1.0.23 Compiling unicode-ident v1.0.6 Compiling syn v1.0.109 Compiling serde_derive v1.0.152 error: failed to run custom build command for "quote v1.0.23"
Caused by: could not execute process "ME\AppData\Local\Temp\cargo-installE7ipUF\release\build\quote-0cc442527a6b4d49\build-script-build" (never executed)
Caused by: The system cannot find the file specified. (os error 2) warning: build failed, waiting for other jobs to finish... error: failed to compile "cargo-binutils v0.3.6", intermediate artifacts can be found at "ME\AppData\Local\Temp\cargo-installE7ipUF"
As far as I can tell, this is because it is trying to run a build script for the quote
crate (version 1.0.23) which doesn't exist yet, but this error happens at a different point every time I run the command other machines, possibly an issue with asynchronous code in the compiler?
edit: missed that you opened an issue at https://github.com/rust-embedded/cargo-binutils/issues/135
rustc-cfg
includesfailure
, which includesbacktrace
, which includesbacktrace-sys
, which tries to compilelibbacktrace
from C source (https://github.com/rust-lang/backtrace-rs/blob/e745627050fde4161235c48fdc859ba4098a8a79/crates/backtrace-sys/build.rs#L23).Dependency graph
cargo install cargo-binutils