From 754da2c6cc2b5969505627f210dfd86a6e022c03 Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Tue, 6 Jul 2021 22:00:43 -0500 Subject: [PATCH 1/2] fix: remove dip1021 --- dub.sdl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dub.sdl b/dub.sdl index 939fc6a..635b811 100644 --- a/dub.sdl +++ b/dub.sdl @@ -24,7 +24,7 @@ configuration "library" { // enables all disp except =nosharedaccess dflags "-vgc" "-preview=dip25" "-preview=dip1000" "-preview=dip1008" "-preview=fieldwise" "-preview=fixAliasThis" "-preview=intpromote" "-preview=rvaluerefparam" "-preview=in" /* dflags "-preview=inclusiveincontracts" platform="dmd" // only on dmd */ -dflags "-preview=dip1021" platform="posix-ldc" // "-preview=dip1021" breaks the build in other cases +/* dflags "-preview=dip1021" platform="posix-ldc" // "breaks the build */ buildType "debug-sanitize-address" platform="ldc" { From 31b2eed19a40b57db414c70429b06d99211815de Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Tue, 6 Jul 2021 22:03:20 -0500 Subject: [PATCH 2/2] ci: use ldc on ubuntu --- .github/workflows/CI.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 3bd100c..602f570 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -13,7 +13,7 @@ jobs: os: - windows-latest - macos-latest - # - ubuntu-latest # https://github.com/ldc-developers/ldc/issues/3780 + - ubuntu-latest d: - "ldc-beta" node: @@ -22,12 +22,6 @@ jobs: - 6 clang: - 12 - include: - # dmd - - os: ubuntu-latest - d: dmd-latest - node: 16 - pnpm: 6 steps: - uses: actions/checkout@v2