Skip to content

Instantly share code, notes, and snippets.

View whatisaphone's full-sized avatar
🙁
Sometimes I worry the compiler ignores all my comments

John Simon whatisaphone

🙁
Sometimes I worry the compiler ignores all my comments
View GitHub Profile
#!/bin/bash
# Usage: rust-backtrace ./my-rust-prog args...
exec gdb -batch -n -x /dev/fd/3 --args "$@" 3<<ENDGDB
set height 0
set breakpoint pending on
break rust_fail