This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
7
unikernel/duniverse/digestif/mirage/unikernel.ml
Normal file
7
unikernel/duniverse/digestif/mirage/unikernel.ml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
module Make (Console : Mirage_console.S) = struct
|
||||
let log console fmt = Format.kasprintf (Console.log console) fmt
|
||||
|
||||
let start console =
|
||||
let hash = Digestif.SHA1.digest_string "Hello World!" in
|
||||
log console "%a" Digestif.SHA1.pp hash
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue