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 e63e381

Browse files
committedJun 14, 2024
rewrite and rename issue-18943 to rmake
1 parent 75eeac7 commit e63e381

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed
 

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

-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ run-make/issue-10971-temps-dir/Makefile
8181
run-make/issue-109934-lto-debuginfo/Makefile
8282
run-make/issue-14698/Makefile
8383
run-make/issue-15460/Makefile
84-
run-make/issue-18943/Makefile
8584
run-make/issue-20626/Makefile
8685
run-make/issue-22131/Makefile
8786
run-make/issue-25581/Makefile

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

-7
This file was deleted.
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+
}

0 commit comments

Comments
 (0)
Failed to load comments.