Skip to content

Commit

Permalink
unikernel: update to recent mirage changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesm committed Jun 9, 2024
1 parent fe8c746 commit 38a0afc
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions mirage/config.ml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
open Mirage

let main = foreign "Unikernel.Main" (random @-> job)

let () =
let main =
let packages = [
package "mirage-crypto-rng" ;
package "mirage-crypto-pk" ;
Expand All @@ -11,4 +9,7 @@ let () =
package "ohex" ;
]
in
register ~packages "crypto-test" [main $ default_random]
main ~packages "Unikernel.Main" (random @-> job)

let () =
register "crypto-test" [main $ default_random]

0 comments on commit 38a0afc

Please sign in to comment.