From e12eba1ef95cbc76ba5b7d645dbf1faf238f3b5c Mon Sep 17 00:00:00 2001 From: Thomas Gazagnaire Date: Mon, 4 May 2020 15:02:54 +0200 Subject: [PATCH] Fix support for x-compilation Specifying a dependency as `(dep x)` will make `dune` trying to compile `x` in the current workspace context. It already knows that `(run ./x)` needs to be run on the host context, so that's enough to make that work. --- src/dune | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dune b/src/dune index 04a9b33..f5f41eb 100644 --- a/src/dune +++ b/src/dune @@ -6,8 +6,8 @@ (rule (targets unsafe.ml) - (deps (:config ../config/config.exe) unsafe_pre407.ml unsafe_stable.ml) - (action (run %{config}))) + (deps unsafe_pre407.ml unsafe_stable.ml) + (action (run ../config/config.exe))) (library (name base64_rfc2045)