1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 20:12:21 +02:00

Fixed hotswap error zeroing libs, fixed indexer type lookup errors

This commit is contained in:
Brian Fiete 2020-04-13 06:41:54 -07:00
parent e2a6a122c4
commit 766b274426
4 changed files with 30 additions and 23 deletions

View file

@ -449,7 +449,7 @@ void BfCodeGenThread::RunLoop()
DoBfLog(2, "Generating obj %s\n", request->mOutFileName.c_str());
BeCOFFObject coffObject;
coffObject.mWriteToLib = (request->mOptions.mWriteToLib) && (!request->mOptions.mIsHotCompile);
coffObject.mWriteToLib = request->mOptions.mWriteToLib;
if (!coffObject.Generate(beIRCodeGen->mBeModule, objFileName))
errorMsg = StrFormat("Failed to write object file: %s", objFileName.c_str());