Suppress codegen of panic printing with when panic messages are set to "off".

Implicit linking of libc math when libc math functions are used.
This commit is contained in:
Christoffer Lerno
2025-07-17 14:44:12 +02:00
parent da4105ffb1
commit ee35001732
7 changed files with 86 additions and 84 deletions

View File

@@ -137,6 +137,7 @@ const bool BACKTRACE = $$BACKTRACE;
const usz LLVM_VERSION = $$LLVM_VERSION;
const bool BENCHMARKING = $$BENCHMARKING;
const bool TESTING = $$TESTING;
const bool PANIC_MSG = $$PANIC_MSG;
const MemoryEnvironment MEMORY_ENV = MemoryEnvironment.from_ordinal($$MEMORY_ENVIRONMENT);
const bool TRACK_MEMORY = DEBUG_SYMBOLS && (COMPILER_SAFE_MODE || TESTING);
const bool X86_64 = ARCH_TYPE == X86_64;