Last active
December 8, 2022 23:25
-
-
Save gwpl/63f648f4741d270141c408671f518b47 to your computer and use it in GitHub Desktop.
rust-gdb - easy way to run rust-scripts with gdb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/fornwall/rust-script/issues/54 | |
# regarding rust-script : https://rust-script.org/ => https://github.com/fornwall/rust-script | |
rust-gdb $(rust-script --debug -o ./my_rust_script.rs --version 2>&1 | rg -w '.+Running `(.+) --version`' -r '$1') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment