Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Shared CodegenArtifact for JIT and AOT

Platform spec ADR

Shared CodegenArtifact for JIT and AOT

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

Lowering produces one CodegenArtifact; backend selection happens after semantic gates complete.

Both JIT (beskid_engine::JitModule) and AOT link flows must accept the same schema fields from beskid_codegen without forking lowering.

Backend-specific options attach at execution time; lowering stays single-path.

  • compiler/crates/beskid_engine/src/jit_module.rs
  • compiler/crates/beskid_codegen
  • compiler/crates/beskid_tests/src/runtime/jit.rs.