Best headless browser for AI agents. Lite, Fast, High-Compatibility. Built in Rust
Rust ai-agentsai-toolsbrowserbrowser-automationcloud-browserheadlessheadless-browserkitesurfplaywrightpuppeteerrustservoweb-crawlerweb-crawlingweb-scraperweb-scraping
build: use one codegen unit for release binaries
ldm0fc61efed55ea
diff --git a/Cargo.toml b/Cargo.tomlindex 1d33a2dc0..9d2dcda72 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -114,6 +114,9 @@ panic = "abort"[profile.release]panic = "abort"strip = false+# Production and release-regression binaries favor a compact code working set+# over parallel code generation.+codegen-units = 1[profile.test]debug = 1diff --git a/docs/RELEASING.md b/docs/RELEASING.mdindex b8971ff33..40123e6d5 100644--- a/docs/RELEASING.md+++ b/docs/RELEASING.md@@ -31,6 +31,11 @@ signed. The allocator behind the default `jemalloc` feature is target-gatedout on Windows, so Windows builds use the system allocator because upstreamtreats the Windows/MSVC combination as untested.+Release builds use one code-generation unit. The release workflow and the CI+release-regression binaries both invoke Cargo with `--release`, so they consume+the same production profile. Normal development and unit-test builds retain+their separate profiles and parallel code generation.+## Prepare the release1. Update `version` in `moli/Cargo.toml` and refresh `Cargo.lock`.