LDC 1.43.0

Lance Bachmeier no at spam.net
Mon Sep 14 18:40:54 UTC 2026


On Sunday, 30 August 2026 at 17:15:54 UTC, kinke wrote:
> Glad to announce LDC 1.43. Some major changes:
>
> * Based on D 2.113.0.
> * Support for LLVM 22. The prebuilt packages use v22.1.8.
> * Minimum LLVM version raised to 18.
> * DRuntime and Phobos now support WASI preview levels 1 and 2, 
> as well as Emscripten, incl. general WebAssembly fixes for EH 
> and GC support. Thanks to Demetrius for making this happen!
> * New prebuilt addon packages for simple cross-compilation, for 
> Windows, Android, WASI and Emscripten targets.
> * The `@restrict` UDA is now supported for dynamic-array 
> parameters too. Builtin array ops use it, enabling 
> auto-vectorization.
> * Revamped codegen for *naked* DMD-style inline assembly, 
> lifting a few former restrictions.
> * dcompute: Support embedding native device code (PTX and 
> SPIR-V) into the host executable's `.rodata` section.
>
> Full release log and downloads: 
> https://github.com/ldc-developers/ldc/releases/tag/v1.43.0
>
> Thanks to all contributors & sponsors!

Thanks. I missed this announcement. I tried cross-compiling for 
Windows, and it's obviously way easier than setting up a Windows 
environment, especially for those of us that don't use Windows.

In case anyone else gets confused when setting it up, the 
installation directory and the addon both have /etc 
subdirectories. You need to merge them.


More information about the Digitalmars-d-announce mailing list