File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
branches/stable/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 @@ -29,5 +29,5 @@ refs/heads/tmp: 378a370ff2057afeb1eae86eb6e78c476866a4a6
29
29
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
30
30
refs/tags/homu-tmp: a5286998df566e736b32f6795bfc3803bdaf453d
31
31
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32
- refs/heads/stable: 54de911f357608c61acee35d3448b77c8fcb7833
32
+ refs/heads/stable: c6364abbc1d3aa0e58d6edb6700fac990d5325be
33
33
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
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