Add a hack to force the linker to fetch Object.o

This commit is contained in:
Rafael Ávila de Espíndola 2011-04-11 15:49:45 -04:00
parent cca6335c26
commit fcb344799a

View File

@ -29,3 +29,5 @@ extern "C" const char *LLVMRustGetLastError(void) {
return LLVMRustError;
}
LLVMOpaqueObjectFile* (*RustHackToFetchObjectO)(LLVMOpaqueMemoryBuffer*)
= LLVMCreateObjectFile;