Skip to content

Commit f649764

Browse files
authored
Rollup merge of rust-lang#125224 - Oneirical:sixth, r=jieyouxu
Migrate `run-make/issue-53964` to `rmake` Part of rust-lang#121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html). This is extremely similar to rust-lang#125146. Could it be interesting to merge the two in some way? This one seems to do the same thing as the rust-lang#125146, but with an added check that a useless lint is not shown.
2 parents d33c909 + dd7e68b commit f649764

File tree

5 files changed

+12
-6
lines changed

5 files changed

+12
-6
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
@@ -114,7 +114,6 @@ run-make/issue-40535/Makefile
114114
run-make/issue-47384/Makefile
115115
run-make/issue-47551/Makefile
116116
run-make/issue-51671/Makefile
117-
run-make/issue-53964/Makefile
118117
run-make/issue-64153/Makefile
119118
run-make/issue-68794-textrel-on-minimal-lib/Makefile
120119
run-make/issue-69368/Makefile
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// Defining a crate that provides panic handling as an external crate
2+
// could uselessly trigger the "unused external crate" lint. In this test,
3+
// if the lint is triggered, it will trip #![deny(unused_extern_crates)],
4+
// and cause the test to fail.
5+
// See https://github.com/rust-lang/rust/issues/53964
6+
7+
use run_make_support::{rustc, tmp_dir};
8+
9+
fn main() {
10+
rustc().input("panic.rs").run();
11+
rustc().input("app.rs").panic("abort").emit("obj").library_search_path(tmp_dir()).run();
12+
}

tests/run-make/issue-53964/Makefile

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)