From 992a3ad4c92d3299b49c925c3fd84b076f682fb3 Mon Sep 17 00:00:00 2001 From: Andrei Dziahel Date: Sat, 12 Oct 2024 13:34:22 +0200 Subject: [PATCH] build: disable dynamic linking on Windows --- cabal.project | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cabal.project b/cabal.project index a5712e1336..ab7a5cbb3d 100644 --- a/cabal.project +++ b/cabal.project @@ -19,7 +19,9 @@ write-ghc-environment-files: never -- Link executables dynamically so the linker doesn't produce test -- executables of ~150MB each and works lightning fast at that too -executable-dynamic: True +-- Disabled on Windows +if(!os(windows)) + executable-dynamic: True -- Many of our tests only work single-threaded, and the only way to -- ensure tasty runs everything purely single-threaded is to pass