aboutsummaryrefslogtreecommitdiff
path: root/src/build_settings.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2025-01-05 13:22:27 +0000
committergingerBill <bill@gingerbill.org>2025-01-05 13:33:06 +0000
commitbca08d3b85f59c35f4eb43731099bc96730b12cd (patch)
treeac247ee6688756e32213bf969ca2b23f8cb9a354 /src/build_settings.cpp
parent2efe4c2d68f486006e405ba7d30be03ec121ae6c (diff)
Make `-no-dynamic-literals` the default now
Diffstat (limited to 'src/build_settings.cpp')
-rw-r--r--src/build_settings.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/build_settings.cpp b/src/build_settings.cpp
index a8261612e..93168cf77 100644
--- a/src/build_settings.cpp
+++ b/src/build_settings.cpp
@@ -441,7 +441,6 @@ struct BuildContext {
bool ignore_unknown_attributes;
bool no_bounds_check;
bool no_type_assert;
- bool no_dynamic_literals;
bool no_output_files;
bool no_crt;
bool no_rpath;
@@ -1867,11 +1866,6 @@ gb_internal bool init_build_paths(String init_filename) {
produces_output_file = true;
}
- if (build_context.ODIN_DEFAULT_TO_NIL_ALLOCATOR ||
- build_context.ODIN_DEFAULT_TO_PANIC_ALLOCATOR) {
- bc->no_dynamic_literals = true;
- }
-
if (!produces_output_file) {
// Command doesn't produce output files. We're done.
return true;