aboutsummaryrefslogtreecommitdiff
path: root/src/build_settings.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-01-12 00:20:25 +0000
committergingerBill <bill@gingerbill.org>2023-01-12 00:20:25 +0000
commite9cfe698bad140fcfb6dda6baf1e8b2e00e52003 (patch)
tree8d0f1e43967f065fdbd8e7fb3b9a00e3005cce2d /src/build_settings.cpp
parent5fa66ac6a8d8624fdb078d459ff58c45fa2dae9a (diff)
Make the `heap_allocator` just be the `permanent_allocator`
This improves the speed of the compiler with very little memory increase (which surprised me, Ginger Bill)
Diffstat (limited to 'src/build_settings.cpp')
-rw-r--r--src/build_settings.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/build_settings.cpp b/src/build_settings.cpp
index 609a010de..0640c7982 100644
--- a/src/build_settings.cpp
+++ b/src/build_settings.cpp
@@ -1411,7 +1411,6 @@ gb_internal bool init_build_paths(String init_filename) {
if ((bc->command_kind & Command__does_build) && (!bc->ignore_microsoft_magic)) {
// NOTE(ic): It would be nice to extend this so that we could specify the Visual Studio version that we want instead of defaulting to the latest.
Find_Result find_result = find_visual_studio_and_windows_sdk();
- defer (mc_free_all());
if (find_result.windows_sdk_version == 0) {
gb_printf_err("Windows SDK not found.\n");