We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50c8238 commit fa124b7Copy full SHA for fa124b7
test/blackbox-tests/test-cases/foreign-stubs/foreign-library-enabled-if.t
@@ -4,6 +4,12 @@ Interaction of the foreign_library stanza and the enabled_if field.
4
> (lang dune 3.18)
5
> EOF
6
7
+ $ cat > a.c <<EOF
8
+ > int foo() {
9
+ > return 1;
10
+ > }
11
+ > EOF
12
+
13
We should allow multiple foreign libraries to define the same archive if only
14
one of them is enabled:
15
@@ -26,7 +32,6 @@ one of them is enabled:
26
32
> (archive_name a)
27
33
> (names a))
28
34
29
- $ cat > a.c
30
35
$ dune build
31
36
37
@@ -52,7 +57,7 @@ illegal:
52
57
53
58
54
59
55
60
56
61
62
File "dune", line 5, characters 8-9:
63
5 | (names a))
0 commit comments