Skip to content

Commit 7fdf1e3

Browse files
committed
update readme and do other cleanups
1 parent 03e9867 commit 7fdf1e3

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

src/tools/opt-dist/src/tests.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ llvm-config = "{llvm_config}"
9696
"tests/pretty",
9797
"tests/run-pass-valgrind",
9898
"tests/ui",
99-
"tests/crases",
99+
"tests/crashes",
100100
];
101101
for test_path in env.skipped_tests() {
102102
args.extend(["--skip", test_path]);

tests/crashes/122909.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
//@ compile-flags: -Zpolymorphize=on -Zinline-mir=yes
2+
//@ known-bug: #12345
3+
24

35
use std::sync::{Arc, Context, Weak};
46

tests/crashes/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ or makes rustc crash in some other way.
77
Accepted exit codes are: 101 (may be expanded later)
88

99
When adding crashes from https://github.com/rust-lang/rust/issues, the
10-
issue number should be noted in the file name (12345.rs should suffice).
11-
12-
If you happen to fix one of the crashes, please move it to `tests/ui`! :)
10+
issue number should be noted in the file name (12345.rs should suffice)
11+
and perhaps also inside the file via `//@ known-bug #4321`
1312

13+
If you happen to fix one of the crashes, please move it to `tests/ui`! :)

0 commit comments

Comments
 (0)