File tree Expand file tree Collapse file tree 4 files changed +15
-14
lines changed
pass-non-c-like-enum-to-c Expand file tree Collapse file tree 4 files changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,6 @@ run-make/libtest-thread-limit/Makefile
6060run-make/link-cfg/Makefile
6161run-make/link-framework/Makefile
6262run-make/link-path-order/Makefile
63- run-make/linkage-attr-on-static/Makefile
6463run-make/long-linker-command-lines-cmd-exe/Makefile
6564run-make/long-linker-command-lines/Makefile
6665run-make/longjmp-across-rust/Makefile
@@ -93,7 +92,6 @@ run-make/redundant-libs/Makefile
9392run-make/remap-path-prefix-dwarf/Makefile
9493run-make/reproducible-build-2/Makefile
9594run-make/reproducible-build/Makefile
96- run-make/return-non-c-like-enum-from-c/Makefile
9795run-make/rlib-format-packed-bundled-libs-2/Makefile
9896run-make/rlib-format-packed-bundled-libs-3/Makefile
9997run-make/rlib-format-packed-bundled-libs/Makefile
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ // #[linkage] is a useful attribute which can be applied to statics to allow
2+ // external linkage, something which was not possible before #18890. This test
3+ // checks that using this new feature results in successful compilation and execution.
4+ // See https://github.com/rust-lang/rust/pull/18890
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 ( "foo" ) ;
13+ rustc ( ) . input ( "bar.rs" ) . run ( ) ;
14+ run ( "bar" ) ;
15+ }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments