This commit is contained in:
swrup 2025-11-02 14:16:38 +01:00
parent e02c4a11a7
commit 3945c15205
3 changed files with 12 additions and 12 deletions

14
.gitignore vendored
View file

@ -1,8 +1,8 @@
_build/ _build/
mirage/ unikernel/mirage/
dist/ unikernel/dist/
dune.build unikernel/dune.build
dune.config unikernel/dune.config
dune-project unikernel/dune-project
dune-workspace unikernel/dune-workspace
duniverse/ unikernel/duniverse/

View file

@ -1,5 +1,4 @@
(library (library
(wrapped false)
(name mte) (name mte)
(public_name mte) (wrapped false)
(libraries logs hxd.core hxd.string)) (libraries logs hxd.core hxd.string))

View file

@ -5,8 +5,9 @@ type conn = Connect
let conn = typ Connect let conn = typ Connect
let minipaf = let mte =
main "Unikernel.Make" main "Unikernel.Make"
~local_libs:[ "mte" ]
~packages: ~packages:
[ [
package "digestif"; package ~min:"0.0.9" "mimic-happy-eyeballs"; package "digestif"; package ~min:"0.0.9" "mimic-happy-eyeballs";
@ -38,5 +39,5 @@ let port = Runtime_arg.create ~pos:__POS__ "Unikernel.port"
let http_server = paf_server ~port tcpv4v6 let http_server = paf_server ~port tcpv4v6
let () = let () =
register "minipaf" register "mte"
[ minipaf $ certificates $ keys $ tcpv4v6 $ conn $ http_server ] [ mte $ certificates $ keys $ tcpv4v6 $ conn $ http_server ]