File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
branches/try/src/test/auxiliary Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 3e561f05c00cd180ec02db4ccab2840a4aba93d2
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
5
- refs/heads/try: 54de911f357608c61acee35d3448b77c8fcb7833
5
+ refs/heads/try: c6364abbc1d3aa0e58d6edb6700fac990d5325be
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
8
8
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
Original file line number Diff line number Diff line change 10
10
11
11
#![ feature( std_misc) ]
12
12
13
+ // We're testing linkage visibility; the compiler warns us, but we want to
14
+ // do the runtime check that these functions aren't exported.
15
+ #![ allow( private_no_mangle_fns) ]
16
+
13
17
use std:: dynamic_lib:: DynamicLibrary ;
14
18
15
19
#[ no_mangle]
@@ -25,6 +29,7 @@ pub fn foo2<T>() {
25
29
#[ no_mangle]
26
30
fn bar ( ) { }
27
31
32
+ #[ allow( dead_code) ]
28
33
#[ no_mangle]
29
34
fn baz ( ) { }
30
35
You can’t perform that action at this time.
0 commit comments