aboutsummaryrefslogtreecommitdiff
path: root/src/build_settings.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-02-20 14:27:44 +0000
committergingerBill <bill@gingerbill.org>2022-02-20 14:27:44 +0000
commit0fa487f468b1f63d5ec97ae8bbb0da01717f32cc (patch)
tree659feb32b49c841032db2a0d9b09bd336cc931ac /src/build_settings.cpp
parent1bec9e5331bad9aaecee8ba80bf2cbeb97bb3ef0 (diff)
Add `-foreign-error-procedures`
Diffstat (limited to 'src/build_settings.cpp')
-rw-r--r--src/build_settings.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/build_settings.cpp b/src/build_settings.cpp
index cc76f9e7c..cd9bdb40c 100644
--- a/src/build_settings.cpp
+++ b/src/build_settings.cpp
@@ -200,6 +200,7 @@ struct BuildContext {
bool ODIN_DEBUG; // Odin in debug mode
bool ODIN_DISABLE_ASSERT; // Whether the default 'assert' et al is disabled in code or not
bool ODIN_DEFAULT_TO_NIL_ALLOCATOR; // Whether the default allocator is a "nil" allocator or not (i.e. it does nothing)
+ bool ODIN_FOREIGN_ERROR_PROCEDURES;
ErrorPosStyle ODIN_ERROR_POS_STYLE;
@@ -269,6 +270,7 @@ struct BuildContext {
bool copy_file_contents;
+
u32 cmd_doc_flags;
Array<String> extra_packages;