From 61e15fea2a818e4ba292c7d2919b18441db90153 Mon Sep 17 00:00:00 2001 From: Clombrong Date: Thu, 8 May 2025 20:05:09 +0200 Subject: fix(markup.ml): counter stack overflow --- dune-workspace | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 dune-workspace (limited to 'dune-workspace') diff --git a/dune-workspace b/dune-workspace new file mode 100644 index 0000000..e9c669b --- /dev/null +++ b/dune-workspace @@ -0,0 +1,13 @@ +(lang dune 3.11) + +;; Markup.ml uses a lot of tail call recursion to parse XML, so it essentially +;; shits itself when compiled with Jsoo (which doesn't support tail-call by +;; default). So we need this. + +;; Obviously, this ought to be removed the instant https://github.com/aantron/markup.ml/issues/26 is merged. + +(env + (_ + (js_of_ocaml + (flags (:standard --effects=cps)) + (build_runtime_flags (:standard --effects=cps))))) -- cgit v1.2.3