ocaml_runtime Last updated Mar 27, 2025
load("@rules_ocaml//build/_rules:ocaml_runtime.bzl", "ocaml_runtime")
ocaml_runtime(name, deps, env, opts, sys_runtime)
Builds a customized OCaml runtime using ocamlc -make-runtime
.
See 22.1.6 Building standalone custom runtime systems for more information.
Attributes
Name | Description | Type | Mandatory | Default |
---|---|---|---|---|
A unique name for this target. |
required |
|||
Libraries whose cc deps should be included in the runtime |
optional |
[] |
||
Env variables |
optional |
{} |
||
List of compile options; overrides configurable default options. Supports |
List of strings |
optional |
[] |
|
System runtime to use:
|
optional |
None |