ocaml_ns_module Last updated Mar 27, 2025

load("@rules_ocaml//build:rules.bzl", "ocaml_ns_module")

ocaml_ns_module(name, env, ns_config, opts)

Compiles the ns-resolver module generated by ocaml_ns_config.

Attributes

Name Description Type Mandatory Default

name

A unique name for this target.

Name

required

env

Env variables

Dictionary: String -> String

optional

{}

ns_config

Label of one ocaml_ns_config target.

Label

required

opts

List of compile options; overrides configurable default options. Supports -no- prefix for each option; for example, -no-linkall.

List of strings

optional

[]