We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f36bbea commit cba4422Copy full SHA for cba4422
[refs]
@@ -1,2 +1,2 @@
1
---
2
-refs/heads/master: 12e7feb71ce1f99ccef425b55295e32027ea69ff
+refs/heads/master: f3057244a6b5f3e5fbfbcf0a74e285cc7704027d
trunk/src/comp/middle/trans.rs
@@ -5436,6 +5436,8 @@ fn decl_native_fn_and_pair(@crate_ctxt cx,
5436
auto wrapper_type = native_fn_wrapper_type(cx, num_ty_param, ann);
5437
let str s = cx.names.next("_rust_wrapper") + sep() + name;
5438
let ValueRef wrapper_fn = decl_fastcall_fn(cx.llmod, s, wrapper_type);
5439
+ llvm.LLVMSetLinkage(wrapper_fn, lib.llvm.LLVMPrivateLinkage
5440
+ as llvm.Linkage);
5441
5442
// Declare the global constant pair that points to it.
5443
auto wrapper_pair_type = T_fn_pair(cx.tn, wrapper_type);
0 commit comments