Skip to content

Commit f11f58d

Browse files
committed
Fix issue #17848 (Questionable advice in bug report instructions)
1 parent 2130f22 commit f11f58d

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

src/doc/complement-bugreport.md

+15-3
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,21 @@ miss out on valid bug reports.
3333

3434
It generally helps our diagnosis to include your specific OS (for example: Mac OS X 10.8.3,
3535
Windows 7, Ubuntu 12.04) and your hardware architecture (for example: i686, x86_64).
36-
It's also helpful to copy/paste the output of re-running the erroneous rustc
37-
command with the `-v` flag. Finally, if you can run the offending command under gdb,
38-
pasting a stack trace can be useful; to do so, you will need to set a breakpoint on `rust_fail`.
36+
It's also helpful to provide the exact version and host by copying the output of
37+
re-running the erroneous rustc command with the `--version=verbose` flag, which will
38+
produce something like this:
39+
40+
```{ignore}
41+
rustc 0.12.0 (ba4081a5a 2014-10-07 13:44:41 -0700)
42+
binary: rustc
43+
commit-hash: ba4081a5a8573875fed17545846f6f6902c8ba8d
44+
commit-date: 2014-10-07 13:44:41 -0700
45+
host: i686-apple-darwin
46+
release: 0.12.0
47+
```
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_fail`.
3951

4052
# I submitted a bug, but nobody has commented on it!
4153

0 commit comments

Comments
 (0)