cargo-bloat: Crash when trying to check repository
git clone https://github.com/qarmin/czkawka
cd czkawka
cargo bloat --release
will print this panic
rafal@rafalDesktop:~/Projekty/Rust/czkawka$ cargo bloat --release
Finished release [optimized] target(s) in 0.08s
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: MalformedInput', /home/rafal/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-bloat-0.10.0/src/main.rs:806:59
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 2
- Comments: 21 (11 by maintainers)
I had this issue still, but after deleting my
target/
and lettingcargo bloat --release
build the release binary, it worked.#87
I believe
.flash.text
section contains a code. It is a target for embedded devices used ESP32 CPU.Hi there,
I encountered into the same crash when I ran
cargo bloat
on Xtensa target (it’s not in upstream, so I use custom Rust toolchain). Same crate works OK when using thumbv (ARMv7) target.