-
Notifications
You must be signed in to change notification settings - Fork 263
Unbound module OS #511
Copy link
Copy link
Closed
Description
Seems that mirage's generated dependencies don't include mirage-platform:
config.ml:
open Mirage
let handler = foreign "Unikernel.Main" (clock @-> job)
let () = register "test" [handler $ default_clock]
unikernel.ml:
module Main (C:V1.CLOCK) = struct let start () = Lwt.return () end
Compiling gives:
$ mirage configure --unix
$ make
File "main.ml", line 5, characters 0-11:
Error: Unbound module OS
Looks like this dependency usually comes via mirage-console, but you might not have it if you use logging instead.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels