Repository navigation
package:native_toolchain_c v0.19.6
Pre-release
Pre-release
·
15 commits
to main
since this release
- Decode
vswhere -utf8output as streaming UTF-8, preserving localized
installation paths and JSON. Other tools still default to the system encoding. - Preserve minor and patch components of iOS and macOS deployment targets in
CBuilderandCLinker. Requirespackage:code_assets2.2.0. - Support listing
.hfiles inCBuilder.sourcesto track header changes as
build dependencies without passing them to the compiler. - Default
linkerOptionstoLinkerOptions.manual()inCLinker.runwhen omitted so static archives link all symbols by default. - Fix
LinkerOptions.treeshakeon Windows for thousands of symbols: no longer
pass an/INCLUDE:flag per symbol in addition to the generated
module-definition file, which exceeded the Windows command-line length limit.
The generated module-definition file also no longer names the DLLMyDLL. - Do not pass linker flags (
-Wl,-encryptable,-Wl,-z,max-page-size=16384,
-framework, and C++ standard library link flags) when compiling object files
for static libraries (-c). - Fix
environmentFromBatchFile, and with it finding the MSVC environment on
Windows, when theNoDefaultCurrentDirectoryInExePathenvironment variable
is set. The batch file was run by its bare file name, which cmd.exe then
doesn't look for in the working directory, so the environment came back
empty. It now runs as.\<name>.bat. environmentFromBatchFilenow throws aProcessExceptionif running the
batch file fails, instead of returning an empty environment.