Module env

Module env 

Source
Expand description

2026-09-26: Environment lookups over a key list the caller passes: the RDMA clients read their device names, GID indices and depths through these. No key or fallback chain is fixed here.

Owner: metrale-gpu-sys. Invariants: none beyond the types.

Functionsยง

first_nonempty
2026-09-26: The value of the first key that is set and non-empty; default when none is.
first_set
2026-09-26: The value of the first key that is set, even to the empty string; default when none is.
first_set_u32
2026-09-26: The first value that parses as u32; a set but unparseable key is skipped. default when none parses.