Skip to content

Commit ffc4d96

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 b5d2bfa + dd7e68b commit ffc4d96

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
@@ -115,7 +115,6 @@ run-make/issue-46239/Makefile
115115
run-make/issue-47384/Makefile
116116
run-make/issue-47551/Makefile
117117
run-make/issue-51671/Makefile
118-
run-make/issue-53964/Makefile
119118
run-make/issue-64153/Makefile
120119
run-make/issue-68794-textrel-on-minimal-lib/Makefile
121120
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)