Skip to content

Instantly share code, notes, and snippets.

@lo48576
Created December 20, 2017 10:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lo48576/a6e14b9213438ae163fa1b0ab9abf2d3 to your computer and use it in GitHub Desktop.
Save lo48576/a6e14b9213438ae163fa1b0ab9abf2d3 to your computer and use it in GitHub Desktop.
2017-12-20-rustup-nightly-rustfmt
$ rustc +nightly --version
rustc 1.24.0-nightly (edbd7d232 2017-12-20)
$ diff ~/.cargo/bin/{rustfmt,rustdoc}
$ rustup run nightly rust-gdb rustfmt
GNU gdb (Gentoo 8.0.1 vanilla) 8.0.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://bugs.gentoo.org/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from rustfmt...done.
(gdb) run
Starting program: /home/larry/.cargo/bin/rustfmt
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
process 4256 is executing new program: /home/larry/.cargo/bin/rustfmt
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
process 4256 is executing new program: /home/larry/.cargo/bin/rustfmt
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
process 4256 is executing new program: /home/larry/.cargo/bin/rustfmt
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
process 4256 is executing new program: /home/larry/.cargo/bin/rustfmt
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
error: toolchain 'nightly-x86_64-unknown-linux-gnu' does not have the binary `rustfmt`
[Inferior 1 (process 4256) exited with code 01]
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment