From deb12f492905a3d849fe746ca203f78c4610a0dc Mon Sep 17 00:00:00 2001 From: Simmo Saan Date: Tue, 28 Nov 2023 13:01:48 +0200 Subject: [PATCH] Suppress no-cmx-file warning --- src/build-info/dune | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/build-info/dune b/src/build-info/dune index c1de250263..ff8d68671b 100644 --- a/src/build-info/dune +++ b/src/build-info/dune @@ -27,3 +27,6 @@ (mode (promote (until-clean) (only configOcaml.ml))) ; replace existing file in source tree, even if releasing (only overrides) (action (write-file %{target} "(* Automatically regenerated, changes do not persist! *)\nlet flambda = \"%{ocaml-config:flambda}\""))) +(env + (_ + (flags (:standard -w -no-cmx-file)))) ; suppress warning from flambda compiler bug: https://github.com/ocaml/dune/issues/3277