Skip to content

Commit 2adcc73

Browse files
committed
---
yaml --- r: 216342 b: refs/heads/stable c: c6364ab h: refs/heads/master v: v3
1 parent de75a4a commit 2adcc73

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
@@ -29,5 +29,5 @@ refs/heads/tmp: 378a370ff2057afeb1eae86eb6e78c476866a4a6
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: a5286998df566e736b32f6795bfc3803bdaf453d
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: 54de911f357608c61acee35d3448b77c8fcb7833
32+
refs/heads/stable: c6364abbc1d3aa0e58d6edb6700fac990d5325be
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375

branches/stable/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)