File tree 1 file changed +2
-2
lines changed
src/librustc/middle/trans 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2741,15 +2741,15 @@ pub fn trans_crate(sess: session::Session,
2741
2741
let link_meta = link:: build_link_meta ( sess, crate . attrs, output,
2742
2742
& mut symbol_hasher) ;
2743
2743
2744
- // Append ".rc " to crate name as LLVM module identifier.
2744
+ // Append ".rs " to crate name as LLVM module identifier.
2745
2745
//
2746
2746
// LLVM code generator emits a ".file filename" directive
2747
2747
// for ELF backends. Value of the "filename" is set as the
2748
2748
// LLVM module identifier. Due to a LLVM MC bug[1], LLVM
2749
2749
// crashes if the module identifer is same as other symbols
2750
2750
// such as a function name in the module.
2751
2751
// 1. http://llvm.org/bugs/show_bug.cgi?id=11479
2752
- let llmod_id = link_meta. crateid . name . clone ( ) + ".rc " ;
2752
+ let llmod_id = link_meta. crateid . name . clone ( ) + ".rs " ;
2753
2753
2754
2754
let ccx = @CrateContext :: new ( sess,
2755
2755
llmod_id,
You can’t perform that action at this time.
0 commit comments