aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2025-01-17 13:22:47 +0000
committerGitHub <noreply@github.com>2025-01-17 13:22:47 +0000
commitfcd3cf7fa815a605e89dac40dd01a9a70e257110 (patch)
tree6079ba5427dedf384107d691c63a7a881f9c3cc2 /src/main.cpp
parent16eca1ded12373cd5a106d20796458a374940771 (diff)
parent3f20b6324353cfb9e3ad27fe9ee5f8d07148911b (diff)
Merge pull request #4704 from flysand7/4614-thread-locals
Error if `-no-crt` is used without `-no-thread-locals`
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 1de5d987b..24e33850e 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2334,6 +2334,10 @@ gb_internal void print_show_help(String const arg0, String command, String optio
print_usage_line(2, "Sets the default allocator to be the nil_allocator, an allocator which does nothing.");
}
+ if (print_flag("-default-to-panic-allocator")) {
+ print_usage_line(2, "Sets the default allocator to be the panic_allocator, an allocator which calls panic() on any allocation attempt.");
+ }
+
if (print_flag("-define:<name>=<value>")) {
print_usage_line(2, "Defines a scalar boolean, integer or string as global constant.");
print_usage_line(2, "Example: -define:SPAM=123");