-
Notifications
You must be signed in to change notification settings - Fork 13k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate
run-make/return-non-c-like-enum
to rmake.rs
- Loading branch information
1 parent
38d0f87
commit a67ebc5
Showing
3 changed files
with
14 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
//@ ignore-cross-compile | ||
|
||
use run_make_support::{cc, extra_c_flags, extra_cxx_flags, run, rustc, static_lib_name}; | ||
|
||
fn main() { | ||
rustc().crate_type("staticlib").input("nonclike.rs").run(); | ||
cc().input("test.c") | ||
.arg(&static_lib_name("nonclike")) | ||
.out_exe("test") | ||
.args(&extra_c_flags()) | ||
.args(&extra_cxx_flags()) | ||
.run(); | ||
run("test"); | ||
} |