mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-11 04:52:21 +02:00
Extensive runtime refactor to reduce generated executable sizes
This commit is contained in:
parent
4e750a7e1a
commit
ddd9b1b218
74 changed files with 2514 additions and 717 deletions
|
@ -739,9 +739,14 @@ namespace IDE.Compiler
|
|||
SetOpt(options.mAllowHotSwapping, .EnableHotSwapping);
|
||||
#endif
|
||||
|
||||
var allocType = options.mAllocType;
|
||||
|
||||
if ((options.mRuntimeKind == .Disabled) && (allocType == .Debug))
|
||||
allocType = .CRT;
|
||||
|
||||
String mallocLinkName;
|
||||
String freeLinkName;
|
||||
switch (options.mAllocType)
|
||||
switch (allocType)
|
||||
{
|
||||
case .CRT:
|
||||
mallocLinkName = "malloc";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue