#panic #cargo #name #cargo-check #abort

bin+lib cargo-towel

Don’t panic! Analyze compiled Rust code for panics and aborts that weren’t optimized out, like cargo check for code that must not panic

1 unstable release

Uses new Rust 2024

0.1.0 Mar 16, 2026

#356 in Concurrency

MIT AND Apache-2.0 WITH LLVM-exception

255KB
4.5K SLoC

DON'T PANIC!

Work in progress.

cargo install cargo-towel
RUSTFLAGS="-Csymbol-mangling-version=v0 --emit=llvm-bc -C debuginfo=2" CARGO_BUILD_BUILD_DIR=target cargo build --release
find target/release/ -name '*.bc' -exec cargo towel {} ';'

Dependencies

~320–670KB
~15K SLoC