Skip to content

Commit 8c518e4

Browse files
committed
---
yaml --- r: 210039 b: refs/heads/try c: c6364ab h: refs/heads/master i: 210037: 1939bcd 210035: 272479b 210031: 0c66b6a v: v3
1 parent 06bfb86 commit 8c518e4

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 3e561f05c00cd180ec02db4ccab2840a4aba93d2
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
5-
refs/heads/try: 54de911f357608c61acee35d3448b77c8fcb7833
5+
refs/heads/try: c6364abbc1d3aa0e58d6edb6700fac990d5325be
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/src/test/auxiliary/linkage-visibility.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010

1111
#![feature(std_misc)]
1212

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+
1317
use std::dynamic_lib::DynamicLibrary;
1418

1519
#[no_mangle]
@@ -25,6 +29,7 @@ pub fn foo2<T>() {
2529
#[no_mangle]
2630
fn bar() { }
2731

32+
#[allow(dead_code)]
2833
#[no_mangle]
2934
fn baz() { }
3035

0 commit comments

Comments
 (0)