Skip to content

Commit e282b1f

Browse files
authored
Rollup merge of #125224 - Oneirical:sixth, r=jieyouxu
Migrate `run-make/issue-53964` to `rmake` Part of #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 #125146. Could it be interesting to merge the two in some way? This one seems to do the same thing as the #125146, but with an added check that a useless lint is not shown.
2 parents f862f6d + dd7e68b commit e282b1f

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

-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ run-make/issue-40535/Makefile
111111
run-make/issue-47384/Makefile
112112
run-make/issue-47551/Makefile
113113
run-make/issue-51671/Makefile
114-
run-make/issue-53964/Makefile
115114
run-make/issue-64153/Makefile
116115
run-make/issue-68794-textrel-on-minimal-lib/Makefile
117116
run-make/issue-69368/Makefile
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

-5
This file was deleted.

0 commit comments

Comments
 (0)