-
Notifications
You must be signed in to change notification settings - Fork 16
/
dune
52 lines (50 loc) · 1.02 KB
/
dune
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
(library
(name stdint)
(public_name stdint)
(synopsis "Standard integer types for OCaml")
(flags (:standard -w -32))
(install_c_headers
int8 int16 int24 int40 int48 int56 int128
uint8 uint16 uint24 uint32 uint40 uint48 uint56 uint64 uint128)
(foreign_stubs
(language c)
(names
float_conv
int128_conv
int128_stubs
int16_conv
int24_conv
int32_conv
int40_conv
int40_stubs
int48_conv
int48_stubs
int56_conv
int56_stubs
int64_conv
int8_conv
int_conv
nativeint_conv
uint128_conv
uint128_stubs
uint16_conv
uint24_conv
uint32_conv
uint32_stubs
uint40_conv
uint40_stubs
uint48_conv
uint48_stubs
uint56_conv
uint56_stubs
uint64_conv
uint64_stubs
uint8_conv)))
(rule
(targets Stdint_stdlib_.ml)
(enabled_if (< %{ocaml_version} 4.07))
(action (with-stdout-to %{targets} (echo "include Pervasives"))))
(rule
(targets Stdint_stdlib_.ml)
(enabled_if (>= %{ocaml_version} 4.07))
(action (with-stdout-to %{targets} (echo "include Stdlib"))))