Skip to content

Commit cba4422

Browse files
committed
---
yaml --- r: 1761 b: refs/heads/master c: f305724 h: refs/heads/master i: 1759: 32b1047 v: v3
1 parent f36bbea commit cba4422

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 12e7feb71ce1f99ccef425b55295e32027ea69ff
2+
refs/heads/master: f3057244a6b5f3e5fbfbcf0a74e285cc7704027d

trunk/src/comp/middle/trans.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5436,6 +5436,8 @@ fn decl_native_fn_and_pair(@crate_ctxt cx,
54365436
auto wrapper_type = native_fn_wrapper_type(cx, num_ty_param, ann);
54375437
let str s = cx.names.next("_rust_wrapper") + sep() + name;
54385438
let ValueRef wrapper_fn = decl_fastcall_fn(cx.llmod, s, wrapper_type);
5439+
llvm.LLVMSetLinkage(wrapper_fn, lib.llvm.LLVMPrivateLinkage
5440+
as llvm.Linkage);
54395441

54405442
// Declare the global constant pair that points to it.
54415443
auto wrapper_pair_type = T_fn_pair(cx.tn, wrapper_type);

0 commit comments

Comments
 (0)