File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 4848 echo "tests: false" >> cabal.project.local
4949 echo "benchmarks: false" >> cabal.project.local
5050
51+ - name : Disable -dynamic
52+ run : |
53+ echo "package haskell-language-server" >> cabal.project.local
54+ echo " flags: -dynamic" >> cabal.project.local
55+
5156 - uses : ./.github/actions/setup-build
5257 with :
5358 ghc : ${{ matrix.ghc }}
Original file line number Diff line number Diff line change @@ -208,6 +208,11 @@ flag brittany
208208 default : True
209209 manual : True
210210
211+ flag dynamic
212+ description : Build with the dyn rts
213+ default : True
214+ manual : True
215+
211216common example-plugins
212217 hs-source-dirs : plugins/default/src
213218 other-modules : Ide.Plugin.Example,
@@ -354,7 +359,6 @@ executable haskell-language-server
354359 other-modules : Plugins
355360
356361 ghc-options :
357- -dynamic
358362 -threaded
359363 -- allow user RTS overrides
360364 -rtsopts
@@ -365,6 +369,8 @@ executable haskell-language-server
365369 -Wno-unticked-promoted-constructors
366370 if flag(pedantic)
367371 ghc-options : -Werror
372+ if flag(dynamic)
373+ ghc-options : -dynamic
368374
369375 build-depends :
370376 , aeson
You can’t perform that action at this time.
0 commit comments