ldc
ldc copied to clipboard
The LLVM-based D Compiler.
``` Error: Your Xcode (11.7) is outdated. Please update to Xcode 12.4 (or delete it). Xcode can be updated from the App Store.) err: (exit status 1) INFO[07:39:19] Failed to...
Using this program: ~~~d import stdio = std.stdio; void main() { stdio.writeln("hello world"); } ~~~ and this command: ~~~ ldc2 app.d ~~~ I do not get a static build. Namely,...
I just stumbled into the following: ``` import core.simd; double test(double x, double2 y) { x += y; return x; } ``` with `-O3` compiles to ``` double example.test(double, __vector(double[2])):...
I need this fix when the system D compiler has `-target` in its default linker line
Using the new CI runners (awesome performance!).
See https://github.com/llvm/llvm-project/issues/82450 and https://stackoverflow.com/a/77577172 Once fixed (upstream), apply same fix (if needed) to LDC, and re-enable CI testing (https://github.com/ldc-developers/ldc/pull/4585)
Tested with ldc 1.20.1. With the patch you've mentioned most tests (other than math things, as expected) work now. One notable exception is the external_threads test, see the backtrace: ```...
Outside of the tests failures from https://github.com/ldc-developers/ldc/issues/4389, which seem to be gdb dependent, ldc fails some more tests. Two failures are in dmd-testsuite-debug, I'm not sure if these should be...