Remove the old library names. These were unused since rustboot.

Right now rustc hardcodes -lrustllvm. The idea is to instead remember all the native
modules used and convert them to -l directives to the linker. In the case of a
library that is installed in an unusual location, Graydon suggested using metadata:

native module foo = "bar" {
}
This commit is contained in:
Rafael Ávila de Espíndola
2011-06-20 17:59:45 -04:00
parent 2ad0954941
commit 28d1626221
2 changed files with 2 additions and 21 deletions

View File

@@ -125,7 +125,7 @@ const uint LLVMRealULT = 12u;
const uint LLVMRealULE = 13u;
const uint LLVMRealUNE = 14u;
native mod llvm = llvm_lib {
native mod llvm = "rustllvm" {
type ModuleRef;
type ContextRef;
@@ -883,9 +883,6 @@ native mod llvm = llvm_lib {
fn LLVMLinkModules(ModuleRef Dest, ModuleRef Src) -> Bool;
}
native mod rustllvm = llvm_lib {
}
/* Slightly more terse object-interface to LLVM's 'builder' functions. For the
* most part, build.Foo() wraps LLVMBuildFoo(), threading the correct
* BuilderRef B into place. A BuilderRef is a cursor-like LLVM value that