Skip to content

Commit e2245b2

Browse files
committed
rollup merge of rust-lang#19738: steveklabnik/gh19717
Fixes rust-lang#19717
2 parents 5bd680d + f473aee commit e2245b2

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/doc/complement-bugreport.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,13 @@ host: i686-apple-darwin
4646
release: 0.12.0
4747
```
4848

49-
Finally, if you can run the offending command under gdb, pasting a stack trace can be
50-
useful; to do so, you will need to set a breakpoint on `rust_panic`.
49+
Finally, if you can also provide a backtrace, that'd be great. You can get a
50+
backtrace by setting the `RUST_BACKTRACE` environment variable to `1`, like
51+
this:
52+
53+
```bash
54+
$ RUST_BACKTRACE=1 rustc ...
55+
```
5156

5257
# I submitted a bug, but nobody has commented on it!
5358

0 commit comments

Comments
 (0)