Skip to main content
Log in

Mojo struct

RTLD

struct RTLD

Enumeration of the RTLD flags used during dynamic library loading.

Aliases

  • LAZY = IntLiteral(1): Load library lazily (defer function resolution until needed).
  • NOW = IntLiteral(2): Load library immediately (resolve all symbols on load).
  • LOCAL = IntLiteral(4): Make symbols not available for symbol resolution of subsequently loaded libraries.
  • GLOBAL = IntLiteral(256) if (target_get_field(current_target(), "os") == "linux") else IntLiteral(8): Make symbols available for symbol resolution of subsequently loaded libraries.

Implemented traits

AnyType, UnknownDestructibility