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:
parent
61790dd09b
commit
145ba4b0a3
2 changed files with 15 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue