Commit 62332bd
committed
executables: Allow any vars in enabled_if for executables
We allow any vars in enabled_if within the library stanza, but only
common_vars within the executable stanza. This commit fixes that and
allows any vars within the executable stanza too.
Signed-off-by: Puneeth Chaganti <punchagan@muse-amuse.in>1 parent 204c0d1 commit 62332bd
2 files changed
Lines changed: 3 additions & 15 deletions
File tree
- src/dune_rules/stanzas
- test/blackbox-tests/test-cases/enabled_if/enabled_if-exec-read.t
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
497 | | - | |
498 | 497 | | |
499 | | - | |
| 498 | + | |
500 | 499 | | |
501 | 500 | | |
502 | 501 | | |
| |||
Lines changed: 2 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 6 | + | |
13 | 7 | | |
14 | 8 | | |
15 | 9 | | |
16 | 10 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 11 | + | |
23 | 12 | | |
0 commit comments