From dfe1dedeb1f948bebd6121e3cc31fcd4562ab0cd Mon Sep 17 00:00:00 2001 From: gingerBill Date: Mon, 3 May 2021 19:39:36 +0100 Subject: Experimental support for `-use-separate-modules` --- src/build_settings.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/build_settings.cpp') diff --git a/src/build_settings.cpp b/src/build_settings.cpp index 77046cf6d..09d860cfc 100644 --- a/src/build_settings.cpp +++ b/src/build_settings.cpp @@ -809,10 +809,6 @@ void init_build_context(TargetMetrics *cross_target) { bc->max_align = metrics->max_align; bc->link_flags = str_lit(" "); - if (bc->metrics.os == TargetOs_windows) { - // bc->use_separate_modules = bc->optimization_level == 0; - } - // NOTE(zangent): The linker flags to set the build architecture are different // across OSs. It doesn't make sense to allocate extra data on the heap -- cgit v1.2.3