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

Disable LTO for wasm release

This commit is contained in:
Brian Fiete 2023-07-27 07:16:00 -07:00
parent 61790dd09b
commit 145ba4b0a3
2 changed files with 15 additions and 14 deletions

View file

@ -7,8 +7,15 @@ namespace IDE
{
public enum LTOType
{
None,
Thin,
case None;
case Thin;
public static LTOType GetDefaultFor(Workspace.PlatformType platformType, bool isRelease)
{
if ((platformType == .Windows) && (isRelease))
return .Thin;
return .None;
}
}
public enum EmitDebugInfo