Skip to content
Beskid The Beskid Book

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

14.6 AOT build

beskid_aot artifacts, linking, and why compiler mods are AOT-only.

AOT build

AOT emits native objects you can link and ship—required for type: Mod packages the host loads at compile time.

beskid_aot::build consumes CodegenArtifact like JIT, then drives platform link steps per Backends JIT/AOT.

Mods are not interpreted Beskid scripts in the compiler process. The host loads AOT-compiled mod assemblies per target triple and cache key:

accTitle: Compiler Mod AOT artifact
accDescr: Beskid Mod source is AOT-built into an object and descriptor that the analysis host loads.
flowchart TB
  modSrc[Mod Beskid sources]
  aot[beskid_aot build mod]
  artifact[mod.descriptor.json + native object]
  host[mod.load in beskid_analysis]
  modSrc --> aot --> artifact --> host

Text equivalent: The AOT builder compiles Mod source into a native object and mod.descriptor.json. The analysis host loads this validated artifact.

beskid build selects targets and backends per manifest—see build command reference.

CLIF and debug