Skip to content

Regression in enabled_if for executables #3494

@samoht

Description

@samoht

With master, using enabled_if if executable stanza will lead to

$ dune build
File "..."
3 |  (enabled_if (= %{os_type} "Unix"))
                      ^^^^^^^^
Error: This variable is only available since version 2.6 of the dune
language. Please update your dune-project file to have (lang dune 2.6).

This seems to be a regression introduced in #3408

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions