The micro-VM for AI agents — light enough to embed on your laptop, elastic enough to power an agentic cloud.
build(perf): enable release strip=symbols and thin LTO (#3154)
lfld28726cb33cf08e6
diff --git a/Cargo.toml b/Cargo.tomlindex a492241d0..507c63759 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -56,3 +56,7 @@ debug = false[profile.debugging]inherits = "dev"debug = true++[profile.release]+strip = "symbols"+lto = "thin"diff --git a/docs/contributing/development/building.md b/docs/contributing/development/building.mdindex 068975619..7d26b2687 100644--- a/docs/contributing/development/building.md+++ b/docs/contributing/development/building.md@@ -60,6 +60,15 @@ nix develop -c make cli| `make dist:python` | Build portable Python wheels || `make clean` | Clean build artifacts |+## Release build profile++The workspace's `[profile.release]` in `Cargo.toml` sets `strip = "symbols"`+to strip debug symbols from release binaries without removing unwind tables.+Backtraces still work, but may show fewer function names or source locations.+`lto = "thin"` enables cross-codegen-unit link-time optimization (ThinLTO),+balancing runtime optimization with build time. The profile keeps Cargo's+`panic = "unwind"` default.+## Release version alignmentThe runtime, CLI, C bindings, and Python/Node SDKs share the Rust workspace version.