Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f0a80cd

Browse files
committedJul 5, 2024
rewrite and rename issue-18943 to rmake
1 parent de36bca commit f0a80cd

File tree

5 files changed

+13
-9
lines changed

5 files changed

+13
-9
lines changed
 

‎src/tools/tidy/src/allowed_run_make_makefiles.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ run-make/issue-107094/Makefile
5454
run-make/issue-109934-lto-debuginfo/Makefile
5555
run-make/issue-14698/Makefile
5656
run-make/issue-15460/Makefile
57-
run-make/issue-18943/Makefile
5857
run-make/issue-22131/Makefile
5958
run-make/issue-25581/Makefile
6059
run-make/issue-26006/Makefile

‎tests/run-make/issue-18943/Makefile

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// Inside a library, implementing a trait for another trait
2+
// with a lifetime used to cause an internal compiler error (ICE).
3+
// This test checks that this bug does not make a resurgence -
4+
// first by ensuring successful compilation, then verifying that
5+
// the lib crate-type flag was actually followed.
6+
// See https://github.com/rust-lang/rust/issues/18943
7+
8+
use run_make_support::{count_rlibs, rustc};
9+
10+
fn main() {
11+
rustc().input("foo.rs").crate_type("lib").run();
12+
assert_eq!(count_rlibs("foo"), 1);
13+
}

‎tests/run-make/std-core-cycle/rmake.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,3 @@ fn main() {
2525
rustc_foo.run();
2626
rustc_foo_panic.run();
2727
}
28-

0 commit comments

Comments
 (0)
Please sign in to comment.