File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ It's also helpful to provide the exact version and host by copying the output of
37
37
re-running the erroneous rustc command with the ` --version=verbose ` flag, which will
38
38
produce something like this:
39
39
40
- ``` {ignore}
40
+ ``` text
41
41
rustc 0.12.0 (ba4081a5a 2014-10-07 13:44:41 -0700)
42
42
binary: rustc
43
43
commit-hash: ba4081a5a8573875fed17545846f6f6902c8ba8d
@@ -46,8 +46,13 @@ host: i686-apple-darwin
46
46
release: 0.12.0
47
47
```
48
48
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
+ ```
51
56
52
57
# I submitted a bug, but nobody has commented on it!
53
58
You can’t perform that action at this time.
0 commit comments