cargo-asm
cargo-asm copied to clipboard
cargo subcommand showing the assembly or llvm-ir generated for Rust code
According to e.g. #142, it seems like `cargo asm --target=$TARGET` should work, but when I try it `cargo asm` replies: ``` [ERROR]: cargo asm could not find any output files!%...
Basically, each commit corresponds to one warning each. Each commit message contains the details of the warning. (the first commit is from #245 -- without it, master fails to build)
master is currently broken because platforms crate yanked the old versions. ``` cargo install -f --path . Installing cargo-asm v0.1.17 (/Users/taiki/projects/cargo-asm) Updating crates.io index error: failed to compile `cargo-asm v0.1.17...
Fixes #197 Fixes #101 (the first commit is from #245 -- without it, master fails to build)
After running `cargo asm`, I am noticing a very significant performance drop when running my release build, which I do not understand. Given this, I wonder whether cargo asm is...
Hi thanks for the lib! However it is very slow - it eats all cpu and run for a long time before even decompiling a small function.
Since 1.47, standard library crates have been in `rustlib/src/rust/library/foo` instead of `rustlib/src/rust/src/libfoo`. This fixes errors like #172
Being able to see and compare generated asm and LLVM IR is super useful. It would great to be able to have another command to show the generated .wat or...
As tested on Ubuntu/RISC-V