Glad to announce LDC 1.40.0. Major changes:
- Based on D ~2.110.0 (today's upstream stable).
- Support for LLVM 19; the prebuilt packages use v19.1.3 (incl. macOS arm64). Thanks @liushuyu for the help!
- Support for Objective-C classes and protocols, as well as swift stub classes (via the
@swift
UDA). Thanks Adam and Luna! - Emscripten: The compiler now mimicks a musl Linux platform wrt. extra predefined versions. ABI compatibility with clang improved too.
- Mainly for distro package maintainers: Use system zlib instead of Phobos' vendored version through CMake
-DPHOBOS_SYSTEM_ZLIB=ON
. Thanks Andrei! - Edge-case fixes regarding IR struct layouts and link-time culling (for ELF targets).
Full release log and downloads:
https://github.com/ldc-developers/ldc/releases/tag/v1.40.0
Thanks to all contributors & sponsors!