Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
550 B
Rust
Raw Normal View History

2024-05-11 16:41:07 -04:00
// test.c and its static library checkrust.rs make use of variadic functions (VaList).
2024-05-11 16:52:28 -04:00
// This test checks that the use of this feature does not
2024-05-11 16:41:07 -04:00
// prevent the creation of a functional binary.
// See https://github.com/rust-lang/rust/pull/49878
//@ ignore-cross-compile
use run_make_support::{cc, extra_c_flags, run, rustc, static_lib};
fn main() {
2024-05-13 22:15:11 -04:00
rustc().input("checkrust.rs").run();
2024-05-11 16:59:29 -04:00
cc().input("test.c")
2024-05-11 16:41:07 -04:00
.input(static_lib("checkrust"))
.out_exe("test")
.args(&extra_c_flags())
.run();
run("test");
}