Add a hack to force the linker to fetch Object.o
This commit is contained in:
parent
cca6335c26
commit
fcb344799a
1 changed files with 2 additions and 0 deletions
|
@ -29,3 +29,5 @@ extern "C" const char *LLVMRustGetLastError(void) {
|
|||
return LLVMRustError;
|
||||
}
|
||||
|
||||
LLVMOpaqueObjectFile* (*RustHackToFetchObjectO)(LLVMOpaqueMemoryBuffer*)
|
||||
= LLVMCreateObjectFile;
|
||||
|
|
Loading…
Reference in a new issue