Skip to content

Commit

Permalink
Fix support for x-compilation
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
samoht committed May 4, 2020
1 parent c8c6bca commit e12eba1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dune
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e12eba1

Please sign in to comment.