Skip to content

Commit fec90fa

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

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
@@ -119,7 +119,6 @@ run-make/panic-abort-eh_frame/Makefile
119119
run-make/pass-linker-flags-flavor/Makefile
120120
run-make/pass-linker-flags-from-dep/Makefile
121121
run-make/pass-linker-flags/Makefile
122-
run-make/pass-non-c-like-enum-to-c/Makefile
123122
run-make/pdb-alt-path/Makefile
124123
run-make/pdb-buildinfo-cl-cmd/Makefile
125124
run-make/pgo-gen-lto/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)