Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Backends (JIT and AOT) - FAQ and troubleshooting

Platform spec article

Backends (JIT and AOT) - FAQ and troubleshooting

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

Why does run pass but build --kind exe fail?

Section titled “Why does run pass but build --kind exe fail?”

Linking and runtime packaging are AOT-only steps; inspect linker/runtime preparation diagnostics.

Why does object-only build skip runtime files?

Section titled “Why does object-only build skip runtime files?”

ObjectOnly intentionally omits runtime preparation and native linking.

Why does build --kind static fail on Windows targets?

Section titled “Why does build --kind static fail on Windows targets?”

Current static archive merge is implemented for Unix-style toolchains (ar/ranlib, and libtool on Apple hosts). Windows static archive merge currently returns an unsupported-linker-strategy error.

Why does build --kind exe --entrypoint foo fail?

Section titled “Why does build --kind exe --entrypoint foo fail?”

Current executable linker strategy requires entrypoint symbol main; alternate executable entrypoint names are rejected.

Not in the current contract; both backends share the same lowering entrypoint.