Skip to content
Beskid The Beskid Book

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

beskid build

AOT-compile and link a Beskid program to object, library, or executable outputs.

beskid build

AOT-compiles a resolved Beskid program and writes build artifacts. This command is available under beskid build.

Executable and library outputs link only the matching hash-validated ABI-v5 runtime kit installed with the toolchain; --kind object emits no runtime dependency. Progress output is animated by default. Use --plain for line-based output.

ArgumentDescription
[INPUT]Optional .bd entry
--projectProject directory or App.bproj path
--targetTarget name from the manifest
--workspace-memberWorkspace member when resolving via Workspace.bws
--frozenRequire lockfile match; forbid updates
--lockedRequire an existing lockfile
--entrypointEntry function when applicable
ArgumentDescription
--kindexe, shared, static, object (default: App/Test: exe; Lib: shared)
--releaseRelease profile (otherwise debug)
--target-tripleLLVM-style triple (e.g. x86_64-unknown-linux-gnu)
--outputFinal artifact path (default derived next to input / target stem)
--object-outputOptional explicit object file path
--backendCodegen backend (default clif); declared non-CLIF backends fail closed in this release
ArgumentDescription
--exportRepeatable: explicit symbols to export in shared/static artifacts
--prefer-static / --prefer-dynamicLink mode preference (mutually exclusive with each other)
ArgumentDescription
--verbose-linkPrint linker invocations
--plainPlain line-based progress (no step bar or dependency graph panel)
Terminal window
beskid build --project path/to/App.bproj --release

For the executable check sequence and recovery steps, use Build, run, and test.

← Back to CLI command reference