Support ARM and Android
Conflicts: src/libcore/os.rs src/librustc/back/link.rs src/librustc/driver/driver.rs src/librustc/metadata/loader.rs src/librustc/middle/trans/base.rs
This commit is contained in:
committed by
Brian Anderson
parent
27e6a0fa56
commit
987f824f23
@@ -91,6 +91,12 @@ void LLVMInitializeX86TargetMC();
|
||||
void LLVMInitializeX86AsmPrinter();
|
||||
void LLVMInitializeX86AsmParser();
|
||||
|
||||
|
||||
void LLVMInitializeARMTargetInfo();
|
||||
void LLVMInitializeARMTarget();
|
||||
void LLVMInitializeARMTargetMC();
|
||||
void LLVMInitializeARMAsmPrinter();
|
||||
void LLVMInitializeARMAsmParser();
|
||||
// Only initialize the platforms supported by Rust here,
|
||||
// because using --llvm-root will have multiple platforms
|
||||
// that rustllvm doesn't actually link to and it's pointless to put target info
|
||||
@@ -102,6 +108,12 @@ void LLVMRustInitializeTargets() {
|
||||
LLVMInitializeX86TargetMC();
|
||||
LLVMInitializeX86AsmPrinter();
|
||||
LLVMInitializeX86AsmParser();
|
||||
|
||||
LLVMInitializeARMTargetInfo();
|
||||
LLVMInitializeARMTarget();
|
||||
LLVMInitializeARMTargetMC();
|
||||
LLVMInitializeARMAsmPrinter();
|
||||
LLVMInitializeARMAsmParser();
|
||||
}
|
||||
|
||||
// Custom memory manager for MCJITting. It needs special features
|
||||
|
||||
Reference in New Issue
Block a user