From 92e6569767b0015454a6bd6a6bc9fb6ccdff24ea Mon Sep 17 00:00:00 2001 From: Sergey Vinokurov Date: Sun, 1 Jun 2025 10:01:33 +0100 Subject: [PATCH 1/2] =?UTF-8?q?Properly=20limit=20maximum=20heap=20size=20?= =?UTF-8?q?when=20running=20tests=20to=20ensure=20streaming=20doesn?= =?UTF-8?q?=E2=80=99t=20hold=20on=20to=20data?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zlib/zlib.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zlib/zlib.cabal b/zlib/zlib.cabal index 8ad9bcf..88f64ca 100644 --- a/zlib/zlib.cabal +++ b/zlib/zlib.cabal @@ -130,4 +130,4 @@ test-suite tests tasty >= 0.8 && < 1.6, tasty-quickcheck >= 0.8 && < 1 ghc-options: -Wall - --with-rtsopts="-M1G" + "-with-rtsopts=-M1G" From 12ea1304dbc2cd034bca7a9394ff11e0892e37fa Mon Sep 17 00:00:00 2001 From: Sergey Vinokurov Date: Tue, 3 Jun 2025 22:28:15 +0100 Subject: [PATCH 2/2] =?UTF-8?q?MacOS=20on=20Github=20CI=20doesn=E2=80=99t?= =?UTF-8?q?=20like=209.2=20and=20-with-rtsopts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zlib/zlib.cabal | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zlib/zlib.cabal b/zlib/zlib.cabal index 88f64ca..7493fdb 100644 --- a/zlib/zlib.cabal +++ b/zlib/zlib.cabal @@ -130,4 +130,6 @@ test-suite tests tasty >= 0.8 && < 1.6, tasty-quickcheck >= 0.8 && < 1 ghc-options: -Wall - "-with-rtsopts=-M1G" + + if impl(ghc >= 9.4) + ghc-options: "-with-rtsopts=-M1G"