From c8ca955e5b10f814fc1a7283c0ec28939c5c4a2a Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Thu, 27 Jul 2023 09:17:44 -0700 Subject: [PATCH] Fix ToolsetType.GetDefaultFor --- IDE/src/Workspace.bf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/IDE/src/Workspace.bf b/IDE/src/Workspace.bf index 36937c90..349665a5 100644 --- a/IDE/src/Workspace.bf +++ b/IDE/src/Workspace.bf @@ -185,10 +185,13 @@ namespace IDE public static ToolsetType GetDefaultFor(PlatformType platformType, bool isRelease) { - if (isRelease) - return .LLVM; if (platformType == .Windows) + { + if (isRelease) + return .LLVM; return .Microsoft; + } + return .GNU; } }