Skip to content

Commit a67ebc5

Browse files
Migrate run-make/return-non-c-like-enum to rmake.rs
1 parent 38d0f87 commit a67ebc5

File tree

3 files changed

+14
-9
lines changed

3 files changed

+14
-9
lines changed

src/tools/tidy/src/allowed_run_make_makefiles.txt

-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ run-make/remap-path-prefix/Makefile
147147
run-make/reproducible-build-2/Makefile
148148
run-make/reproducible-build/Makefile
149149
run-make/return-non-c-like-enum-from-c/Makefile
150-
run-make/return-non-c-like-enum/Makefile
151150
run-make/rlib-chain/Makefile
152151
run-make/rlib-format-packed-bundled-libs-2/Makefile
153152
run-make/rlib-format-packed-bundled-libs-3/Makefile

tests/run-make/return-non-c-like-enum/Makefile

-8
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
//@ ignore-cross-compile
2+
3+
use run_make_support::{cc, extra_c_flags, extra_cxx_flags, run, rustc, static_lib_name};
4+
5+
fn main() {
6+
rustc().crate_type("staticlib").input("nonclike.rs").run();
7+
cc().input("test.c")
8+
.arg(&static_lib_name("nonclike"))
9+
.out_exe("test")
10+
.args(&extra_c_flags())
11+
.args(&extra_cxx_flags())
12+
.run();
13+
run("test");
14+
}

0 commit comments

Comments
 (0)