Closed thejpster closed 6 years ago
I have the same problem. The problem is that the binutils add the .exe
suffix to the application binary name, which is not present windows for ELF binaries. As a workaroud you can leave out --bin test_app
and add target/your-target-triple/debug/test_app
after the two --
.
https://github.com/rust-embedded/cargo-binutils/blob/master/src/lib.rs#L165
If anyone would give me a hint where the information if the file is named .exe is, I can write a patch.
i am having the same issue on v 0.1.7 of cargo-binutils
This problem is back, apparently. Getting it on v 0.1.7, @japaric
In the meantime,
> cargo readobj target/$TRIPLE/debug/app -- -file-headers
will work
Is this a bug, or have I missed a step? If so, could we make it more obvious what's gone wrong?
Platform: Windows 10 Rust: rustc 1.30.0-beta.9 (a18eb4852 2018-09-30)