@@ -74,20 +74,30 @@ To build a corpus, you may want to use:
74
74
- The rustc/rust-analyzer/clippy test suites (or even source code) --- though avoid
75
75
tests that are already known to cause failures, which often begin with comments
76
76
like ` // failure-status: 101 ` or ` // known-bug: #NNN ` .
77
- - The already-fixed ICEs in [ Glacier] [ glacier ] --- though avoid the unfixed
78
- ones in ` ices/ ` !
77
+ - The already-fixed ICEs in the archived [ Glacier] [ glacier ] repository --- though
78
+ avoid the unfixed ones in ` ices/ ` !
79
+
80
+ [ glacier ] : https://github.com/rust-lang/glacier
79
81
80
82
## Extra credit
81
83
82
84
Here are a few things you can do to help the Rust project after filing an ICE.
83
85
84
- - [ Bisect] [ bisect ] the bug to figure out when it was introduced
86
+ - [ Bisect] [ bisect ] the bug to figure out when it was introduced.
87
+ If you find the regressing PR / commit, you can mark the issue with the label
88
+ ` S-has-bisection ` . If not, consider applying ` E-needs-bisection ` instead.
85
89
- Fix "distractions": problems with the test case that don't contribute to
86
90
triggering the ICE, such as syntax errors or borrow-checking errors
87
- - Minimize the test case (see below)
88
- - Add the minimal test case to [ Glacier] [ glacier ]
91
+ - Minimize the test case (see below). If successful, you can label the
92
+ issue with ` S-has-mcve ` . Otherwise, you can apply ` E-needs-mcve ` .
93
+ - Add the minimal test case to the rust-lang/rust repo as a [ crashes test] .
94
+ While you're at it, consider including other "untracked" crashes in your PR.
95
+ Please don't forget to mark your issue with ` S-bug-has-test ` afterwards.
96
+
97
+ See also [ applying and removing labels] [ labeling ] .
89
98
90
99
[ bisect ] : https://rust-lang.github.io/cargo-bisect-rustc/
100
+ [ labeling ] : https://forge.rust-lang.org/release/issue-triaging.html#applying-and-removing-labels
91
101
92
102
## Minimization
93
103
@@ -143,7 +153,6 @@ ICEs that require debug assertions to reproduce should be tagged
143
153
- [ tree-splicer] [ tree-splicer ] generates new source files by combining existing
144
154
ones while maintaining correct syntax
145
155
146
- [ glacier ] : https://github.com/rust-lang/glacier
147
156
[ fuzz-rustc ] : https://github.com/dwrensha/fuzz-rustc
148
157
[ icemaker ] : https://github.com/matthiaskrgr/icemaker/
149
158
[ tree-splicer ] : https://github.com/langston-barrett/tree-splicer/
0 commit comments