@@ -74,20 +74,31 @@ To build a corpus, you may want to use:
7474- The rustc/rust-analyzer/clippy test suites (or even source code) --- though avoid
7575 tests that are already known to cause failures, which often begin with comments
7676 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
7981
8082## Extra credit
8183
8284Here are a few things you can do to help the Rust project after filing an ICE.
8385
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.
8589- Fix "distractions": problems with the test case that don't contribute to
8690 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 ] .
8998
9099[ bisect ] : https://rust-lang.github.io/cargo-bisect-rustc/
100+ [ crashes test ] : tests/compiletest.html#crashes-tests
101+ [ labeling ] : https://forge.rust-lang.org/release/issue-triaging.html#applying-and-removing-labels
91102
92103## Minimization
93104
@@ -143,7 +154,6 @@ ICEs that require debug assertions to reproduce should be tagged
143154- [ tree-splicer] [ tree-splicer ] generates new source files by combining existing
144155 ones while maintaining correct syntax
145156
146- [ glacier ] : https://github.com/rust-lang/glacier
147157[ fuzz-rustc ] : https://github.com/dwrensha/fuzz-rustc
148158[ icemaker ] : https://github.com/matthiaskrgr/icemaker/
149159[ tree-splicer ] : https://github.com/langston-barrett/tree-splicer/
0 commit comments