package mirage
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
The MirageOS library operating system
Install
dune-project
Dependency
Authors
Maintainers
Sources
mirage-4.0.0.tbz
sha256=f804161872de6cf20699364f09d03370ed06aafffb12f1d586190832c73a194d
sha512=75c1c1cac4c6f862c0055381c7ced123785193234b40da8a8e238cb289cba1a4494378587c4edf2ed872aee7fbfc756f84087941c1037ac19cbd1733ff6cca6a
doc/src/mirage.target/unix.ml.html
Source file unix.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48open Functoria module Key = Mirage_key type t = [ `Unix | `MacOSX ] let cast = function #t as t -> t | _ -> invalid_arg "not a unix target." let packages _ = [ Functoria.package ~min:"5.0.0" ~max:"6.0.0" "mirage-unix" ] (*Mirage unix is built on the host build context.*) let build_context ?build_dir:_ _ = [] let context_name _ = "default" let configure _ = Action.ok () let main i = Fpath.(base (rem_ext (Info.main i))) let public_name i = match Info.output i with None -> Info.name i | Some o -> o let dune i = let libraries = Info.libraries i in let flags = Mirage_dune.flags i in let public_name = public_name i in let main = Fpath.to_string (main i) in let pp_list f = Dune.compact_list f in let dune = Dune.stanzaf {| (rule (target %s) (enabled_if (= %%{context_name} "default")) (action (copy %s.exe %%{target}))) (executable (name %s) (libraries %a) (link_flags (-thread)) (modules (:standard \ %a)) (flags %a) (enabled_if (= %%{context_name} "default")) ) |} public_name main main (pp_list "libraries") libraries Fpath.pp (Fpath.rem_ext (Fpath.base (Info.config_file i))) (pp_list "flags") flags in [ dune ] let install i = let public_name = public_name i in Install.v ~bin:[ Fpath.(v public_name, v public_name) ] ()
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>