Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
cixtor committed Jul 20, 2011
1 parent b7a7120 commit 94c9138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/comp/middle/trans.rs
Expand Up @@ -8571,7 +8571,7 @@ fn write_metadata(&@trans::crate_ctxt cx, &@ast::crate crate) {
llglobal = llvm::LLVMConstBitCast(llglobal, t_ptr_i8);
auto llvm_used =
llvm::LLVMAddGlobal(cx.llmod, T_array(t_ptr_i8, 1u),
str::buf("llvm_used"));
str::buf("llvm.used"));
llvm::LLVMSetLinkage(llvm_used,
lib::llvm::LLVMAppendingLinkage as llvm::Linkage);
llvm::LLVMSetInitializer(llvm_used, C_array(t_ptr_i8, ~[llglobal]));
Expand Down

0 comments on commit 94c9138

Please sign in to comment.