Expand description
The supported Lean toolchain window.
lean-rs-sys accepts the active toolchain at build time iff its lean.h
digest matches one entry in SUPPORTED_TOOLCHAINS. The table is the
single source of truth for the v1.0 compatibility promise.
Each entry records the SHA-256 of one include/lean/lean.h, the
LEAN_VERSION_STRING values that ship that exact header (Lean does not
always bump the header between releases — header-identical releases share
one entry), and the set of REQUIRED_SYMBOLS
that are absent from this toolchain. Layout assumptions encoded in the
crate-private repr module are verified to be consistent across the
entire window (see docs/architecture/02-versioning-and-compatibility.md).
See docs/bump-toolchain.md for the procedure to extend the window.
Structs§
- Supported
Toolchain - One ABI-equivalence class in the supported toolchain window.
Constants§
- SUPPORTED_
TOOLCHAINS - The supported Lean toolchain window.
Functions§
- supported_
by_ digest - Return the
SupportedToolchainentry whoseheader_digestmatches the given lowercase-hex SHA-256 string, if any. - supported_
for - Return the
SupportedToolchainentry that includesversion, if any. - symbol_
present_ in_ window - Return
trueiff noSupportedToolchainentry listssymbolundermissing_symbols. Combine withcrate::REQUIRED_SYMBOLSfor a membership check viacrate::symbol_in_all.