Skip to content

0.3.5

Choose a tag to compare

@HFYKratos HFYKratos released this 30 Nov 13:16
· 261 commits to main since this release

0.3.5

新功能 / What's new

  • Windows 本地 AOT 构建新增生成 C 对象缓存:新增随启动器分发的 3ds2apple-cc 帮助程序,按源文件、工具链与编译选项复用已编译对象;同一游戏、同一工具链与选项再次构建时只重新编译变化的部分,缓存损坏或缺失时自动回退到真实编译,GamePack 输出保持一致。
    Windows local-AOT builds now reuse compiled objects: the launcher ships a small 3ds2apple-cc helper that keys cached objects by source file, toolchain and compile flags, so rebuilding the same game with the same toolchain and options recompiles only what changed; a broken or missing cache falls back to a real compile and the GamePack output stays identical.
  • Linux 本地 AOT 对象缓存增加容量上限与 LRU 清理:默认上限 2048 MB,可用 THREEDS2APPLE_CC_CACHE_MAX_MB 调整(0 表示不限制),构建成功后自动清理最久未用的对象并记录回收数量与字节数;构建中的临时对象不会被清理。
    The Linux local-AOT object cache now has a size cap and LRU pruning: the default cap is 2048 MB, THREEDS2APPLE_CC_CACHE_MAX_MB tunes it (0 disables the cap), stale objects are pruned after successful builds with the reclaimed count and bytes logged, and in-progress objects are never pruned.
  • macOS 启动器的本地 AOT 构建新增生成 C 对象缓存:同一游戏、同一工具链与选项再次构建时复用已编译对象,热构建从约 5 分钟降到约 45 秒(编译时间约降低 90%),冷构建只增加约 3–4%;缓存位于 build/aot-cache/<game>,设置 THREEDS2APPLE_CC_CACHE=0 可关闭,缓存异常时自动回退真实编译,冷/热构建的产物逐字节一致。
    The macOS launcher's local AOT builds now reuse compiled objects: rebuilding the same game with the same toolchain and options cuts a warm build from about 5 minutes to about 45 seconds (about 90% less compile time) for roughly 3–4% more on a cold build; the cache lives in build/aot-cache/<game>, THREEDS2APPLE_CC_CACHE=0 turns it off, cache errors fall back to a real compile, and cold/warm archives are byte-identical.

修复 / Fixes

  • 本版本没有单独的修复项,改进已包含在上面的新功能中。
    No standalone fixes in this release; the improvements are part of the new features above.