From d215546885969496848e003b5f29a7fcc456d892 Mon Sep 17 00:00:00 2001 From: ASDAlexander77 Date: Fri, 25 Sep 2026 11:13:45 +0100 Subject: [PATCH] Drop LLVMSupport.lib from the TSLANG_DEBUG_CRT comment The compiler's release package no longer ships it: compiled programs have not linked an LLVM library since the compiler's #333. Co-Authored-By: Claude Opus 5.5 (1M context) --- scripts/build_core.bat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/build_core.bat b/scripts/build_core.bat index 5a0f481..d546d4d 100644 --- a/scripts/build_core.bat +++ b/scripts/build_core.bat @@ -57,9 +57,9 @@ rem (see tslang/tslang/exe.cpp). Without a flag cl defaults to /MT, so the debug rem release-CRT wrappers and a debug `tslang --emit=exe` against it failed with LNK2038 mismatches. set DBG_CL=/MTd /Z7 /std:c++latest rem TSLANG_DEBUG_CRT=/MT builds the debug archive against the release CRT instead. /MTd is right -rem next to a debug tslang build, whose runtime, collector and LLVM libraries are /MTd too. A -rem release package ships only /MT builds of those (TypeScriptAsyncRuntime.lib, gc.lib, -rem LLVMSupport.lib), so there a /MTd debug archive cannot be linked with them at all: every +rem next to a debug tslang build, whose runtime and collector are /MTd too. A +rem release package ships only /MT builds of those (TypeScriptAsyncRuntime.lib and +rem gc.lib), so there a /MTd debug archive cannot be linked with them at all: every rem `tslang --di --emit=exe` failed with LNK2038. The compiler's release workflow sets it. It rem changes only the CRT; the archive still carries debug info (/Z7, --di). if /I "%TSLANG_DEBUG_CRT%"=="/MT" (