Skip to main content

Module consts

Module consts 

Source
Expand description

ABI constants for lean-rs-sys.

The static lean.h layout constants (object tags, allocator ceilings) come from the link-free lean-rs-abi.

The live toolchain identity below is baked by this crate’s build.rs from the lean.h it linked against: lean-rs-sys links libleanshared, so it always has a toolchain to probe (unlike lean-rs-abi, which is purely static).

Constants§

LEAN_ARRAY
LEAN_CLOSURE
LEAN_CLOSURE_MAX_ARGS
LEAN_EXTERNAL
LEAN_HEADER_DIGEST
SHA-256 of the resolved lean.h, lowercase hex.
LEAN_HEADER_PATH
Filesystem path to the lean.h this crate built against.
LEAN_MAX_CTOR_FIELDS
LEAN_MAX_CTOR_SCALARS_SIZE
LEAN_MAX_CTOR_TAG
LEAN_MAX_SMALL_OBJECT_SIZE
LEAN_MPZ
LEAN_OBJECT_SIZE_DELTA
LEAN_PROMISE
LEAN_REF
LEAN_RESERVED
LEAN_RESOLVED_VERSION
Version string from the matched supported-toolchain entry.
LEAN_SCALAR_ARRAY
LEAN_STRING
LEAN_STRUCT_ARRAY
LEAN_TASK
LEAN_THUNK
LEAN_VERSION
LEAN_VERSION_STRING from the lean.h this crate was built against.