github ldc-developers/ldc v1.40.0-beta4
LDC 1.40.0-beta4

pre-release24 days ago

(Changes since 1.40.0-beta3 are marked with (new).)

Big news

  • Frontend, druntime and Phobos are at version ~2.110.0. (#4707, #4737, #4749, #4768) (new)
  • LLVM for prebuilt packages bumped to v18.1.8 (incl. macOS arm64). (#4712)
  • Android: NDK for prebuilt package bumped from r26d to r27. (#4711)
  • ldc2.conf: %%ldcconfigpath%% placeholder added - specifies the directory where current configuration file is located. (#4717)
  • Add support for building against a system copy of zlib through -DPHOBOS_SYSTEM_ZLIB=ON. (#4742)
  • Emscripten: The compiler now mimicks a musl Linux platform wrt. extra predefined versions (linux, Posix, CRuntime_Musl, CppRuntime_LLVM). (#4750)

Bug fixes

  • Fix potentially corrupt IR layouts for bit fields. (#4646, #4708)
  • Fix potentially corrupt IR layouts for explicitly under-aligned aggregates, a regression introduced in LDC v1.31. (#4734, #4736)
  • ELF: Emit (most) instantiated symbols in COMDATs for proper link-time culling. (#3589, #4748)

Don't miss a new ldc release

NewReleases is sending notifications on new releases.