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 @@ -67,7 +67,6 @@ run-make/libtest-thread-limit/Makefile
6767run-make/link-cfg/Makefile
6868run-make/link-framework/Makefile
6969run-make/link-path-order/Makefile
70- run-make/linkage-attr-on-static/Makefile
7170run-make/long-linker-command-lines-cmd-exe/Makefile
7271run-make/long-linker-command-lines/Makefile
7372run-make/longjmp-across-rust/Makefile
@@ -105,7 +104,6 @@ run-make/redundant-libs/Makefile
105104run-make/remap-path-prefix-dwarf/Makefile
106105run-make/reproducible-build-2/Makefile
107106run-make/reproducible-build/Makefile
108- run-make/return-non-c-like-enum-from-c/Makefile
109107run-make/rlib-format-packed-bundled-libs-2/Makefile
110108run-make/rlib-format-packed-bundled-libs-3/Makefile
111109run-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