This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
7
unikernel/duniverse/ocaml-base64/config/config.ml
Normal file
7
unikernel/duniverse/ocaml-base64/config/config.ml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
let parse s = Scanf.sscanf s "%d.%d" (fun major minor -> (major, minor))
|
||||
|
||||
let () =
|
||||
let version = parse Sys.ocaml_version in
|
||||
if version >= (4, 7)
|
||||
then print_string "unsafe_stable.ml"
|
||||
else print_string "unsafe_pre407.ml"
|
||||
7
unikernel/duniverse/ocaml-base64/config/dune
Normal file
7
unikernel/duniverse/ocaml-base64/config/dune
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
(executable
|
||||
(name config))
|
||||
|
||||
(rule
|
||||
(with-stdout-to
|
||||
which-unsafe-file
|
||||
(run ./config.exe)))
|
||||
Loading…
Add table
Add a link
Reference in a new issue