Skip to content

Commit

Permalink
enabled_if not allowed in libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
vouillon committed Nov 5, 2024
1 parent 7cc8466 commit 9c5c761
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/dune_rules/jsoo/js_of_ocaml.ml
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,10 @@ module In_buildable = struct
fields
(let+ flags = Flags.decode
and+ enabled_if =
field_o
"enabled_if"
(Dune_lang.Syntax.since Stanza.syntax (3, 17) >>> Blang.decode)
only_in_executable
(field_o
"enabled_if"
(Dune_lang.Syntax.since Stanza.syntax (3, 17) >>> Blang.decode))
and+ javascript_files = field "javascript_files" (repeat string) ~default:[]
and+ wasm_files =
match (mode : Mode.t) with
Expand Down

0 comments on commit 9c5c761

Please sign in to comment.