This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,18 @@
open Functoria.DSL
type mtime = job
let mtime = Functoria.job
let no_mtime = impl "Mirage_runtime" mtime
let impl sublib =
let packages =
[ package ~min:"5.2.0" ~max:"6.0.0" ~sublibs:[ ""; sublib ] "mirage-mtime" ]
in
impl ~packages "Mirage_mtime" mtime
let default_mtime =
if_impl Key.is_unix (impl "unix")
(if_impl Key.is_unikraft (impl "unikraft") (impl "solo5"))
let mock_mtime = impl "mock"