(Changes since 1.34.0-beta1 are marked with (new).)
Big news
- Frontend, druntime and Phobos are at version 2.104.2. (#4440)
- Support for LLVM 16. The prebuilt packages use v16.0.6. (#4411, #4423) (new)
- We have come across miscompiles with LLVM 16's newly-enabled-by-default function specializations (on Win64 and macOS). To be on the safe side, LDC disables them by default for all targets via
-func-specialization-size-threshold=1000000000
inetc/ldc2.conf
(and separately for LTO on Posix platforms). To enable the function specializations, explicitly override it with e.g.-func-specialization-size-threshold=100
(the LLVM 16 default) and, for LTO on Posix, a similar LTO plugin option in the linker cmdline (see linker cmdline with-v
).
- We have come across miscompiles with LLVM 16's newly-enabled-by-default function specializations (on Win64 and macOS). To be on the safe side, LDC disables them by default for all targets via
Platform support
- Supports LLVM 11.0 - 16.0. Support for LLVM 9 and 10 was dropped. (new)