Repository navigation
0.2.0 — 2026-11-08
Release Notes
A breaking release. It publishes the four crates at 0.2.0, and tags the c plugin as
plugin-c-v0.2.0 and the new rust plugin as plugin-rust-v0.1.0. A build file that declares
env as a list (env = { "PATH" }) is refused: write each variable as a mark, "key" or
"unkeyed" (see Changed). Both plugin tags need buildl 0.2.0.
Added
- The
rustplugin.rust.binary,rust.libraryandrust.testbuild and test a Rust
crate with thecargoyou already have, and fill in the inputs,HOMEandPATH(unkeyed) and
the network setting. The helpersrust.packageandrust.featuresbuild theargs,
rust.platformnames the host, andrust.shared_namegives the file name of a shared library on
it. A build file loads it withbuildl.use("rust"), andbuildl.tomlnames it in
[plugins.rust](dir = "plugins/rust"). It is taggedplugin-rust-v0.1.0at release. examples/rust-workspace. A Cargo workspace with an rlib, a proc-macro and a binary using
both, built through therustplugin: one call per artifact, none for the rlib or the
proc-macro, andrust.testover the whole workspace and over one crate with a feature on.examples/rust-ffi. C and Rust calling each other through both plugins: a Cargo workspace
builds a static library and a shared one withrust.library, andc.binarylinks each by
label;c.librarybuilds a C library that arust.binarylinks through itsbuild.rs; a C
header edit leaves the Rust targets clean.
Changed
- The
rustandpolyglotexamples build through therustplugin. The binary is now
out/helloinexamples/rust(it wasout/hello/bin/hello) andout/rust/cliin
examples/polyglot(it wasout/rust/cli/bin/cli), andexamples/polyglotgains a Rust test
target,//rust:cli_test. envis a table of marks. A target declares each variable as"key", whose value is in the
action key, or"unkeyed", which the command gets but whose name alone is in the key;
env.unkeyedinbuildl.tomlandextension.tomlallows the unkeyed ones. The list form
env = { "PATH" }is refused. A value that holds this machine's home, workspace or sandbox
folder is refused with exit code 5, so the same target gets the same key on every machine.- The
cplugin is 0.2.0, taggedplugin-c-v0.2.0at release: its link and archive steps
markPATHunkeyed.plugin-c-v0.1.0uses the list form and works only with buildl 0.1.0.
Fixed
- A program in
out/that loads a shared library from its own folder. On macOS such a program
could fail to find the library, becauseout/held a hard link to the program's copy in the
store and the system could resolve it under the store's name. Runnable outputs, programs and
shared libraries that carry the run bit, are now copied intoout/instead of hard-linked.
Install buildl-cli 0.2.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/airsstack/buildl/releases/download/buildl-cli-v0.2.0/buildl-cli-installer.sh | shDownload buildl-cli 0.2.0
| File | Platform | Checksum |
|---|---|---|
| buildl-cli-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| buildl-cli-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| buildl-cli-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| buildl-cli-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
| buildl-cli-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
| buildl-cli-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:
gh attestation verify <file-path of downloaded artifact> --repo airsstack/buildlYou can also download the attestation from GitHub and verify against that directly:
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation> --repo airsstack/buildl