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
21
21
run-make/extern-diff-internal-name/Makefile
22
22
run-make/extern-flag-disambiguates/Makefile
23
23
run-make/extern-fn-reachable/Makefile
24
- run-make/extern-fn-with-union/Makefile
25
24
run-make/extern-multiple-copies/Makefile
26
25
run-make/extern-multiple-copies2/Makefile
27
26
run-make/fmt-write-bloat/Makefile
Original file line number Diff line number Diff line change 2
2
// test simply runs a Rust program containing generics that is also reliant on
3
3
// a C library, and checks that compilation and execution are successful.
4
4
// See https://github.com/rust-lang/rust/pull/15831
5
+
5
6
//@ ignore-cross-compile
6
7
// Reason: the compiled binary is executed
7
8
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