mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
Add a hack to force the linker to fetch Object.o
This commit is contained in:
parent
cca6335c26
commit
fcb344799a
@ -29,3 +29,5 @@ extern "C" const char *LLVMRustGetLastError(void) {
|
||||
return LLVMRustError;
|
||||
}
|
||||
|
||||
LLVMOpaqueObjectFile* (*RustHackToFetchObjectO)(LLVMOpaqueMemoryBuffer*)
|
||||
= LLVMCreateObjectFile;
|
||||
|
Loading…
Reference in New Issue
Block a user