This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +17
-8
lines changed Expand file tree Collapse file tree 4 files changed +17
-8
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ run-make/export-executable-symbols/Makefile
2121run-make/extern-diff-internal-name/Makefile
2222run-make/extern-flag-disambiguates/Makefile
2323run-make/extern-fn-reachable/Makefile
24- run-make/extern-fn-with-union/Makefile
2524run-make/extern-multiple-copies/Makefile
2625run-make/extern-multiple-copies2/Makefile
2726run-make/fmt-write-bloat/Makefile
Original file line number Diff line number Diff line change 22// test simply runs a Rust program containing generics that is also reliant on
33// a C library, and checks that compilation and execution are successful.
44// See https://github.com/rust-lang/rust/pull/15831
5+
56//@ ignore-cross-compile
67// Reason: the compiled binary is executed
78
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ // If an external function from foreign-function interface was called upon,
2+ // its attributes would only be passed to LLVM if and only if it was called in the same crate.
3+ // This caused passing around unions to be incorrect.
4+ // See https://github.com/rust-lang/rust/pull/14191
5+
6+ //@ ignore-cross-compile
7+ // Reason: the compiled binary is executed
8+
9+ use run_make_support:: { build_native_static_lib, run, rustc} ;
10+
11+ fn main ( ) {
12+ build_native_static_lib ( "ctest" ) ;
13+ rustc ( ) . input ( "testcrate.rs" ) . run ( ) ;
14+ rustc ( ) . input ( "test.rs" ) . run ( ) ;
15+ run ( "test" ) ;
16+ }
You can’t perform that action at this time.
0 commit comments