From accdd55c032c9287819aac97d73889e4ffe9f6c7 Mon Sep 17 00:00:00 2001 From: Mathias Lang Date: Sat, 22 Jun 2024 17:02:09 +0200 Subject: [PATCH] Drop support for LDC v1.26.0 We only support the last 10 versions, so LDC should have been upgraded in the previous PR. In addition, we can remove a superfluous __VERSION__ statement, which haseen superfluous for quite a while now. --- .github/workflows/main.yml | 2 +- source/app.d | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4fd6de582..ff70485da 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -61,7 +61,7 @@ jobs: - dmd-master - ldc-master # Test some intermediate versions - - ldc-1.26.0 + - ldc-1.29.0 - dmd-2.099.1 - dmd-2.102.2 - dmd-2.105.3 diff --git a/source/app.d b/source/app.d index e27ebd7f2..ac43cc370 100644 --- a/source/app.d +++ b/source/app.d @@ -32,8 +32,7 @@ version (DigitalMars) version (D_Coverage) * * https://dlang.org/changelog/2.087.0.html#gc_parallel */ -static if (__VERSION__ >= 2087) - extern(C) __gshared string[] rt_options = [ "gcopt=parallel:0" ]; +extern(C) __gshared string[] rt_options = [ "gcopt=parallel:0" ]; int main(string[] args) {