fix(release): build without LTO, whose link ran a shared runner node out of memory

Claude-Session: https://claude.ai/code/session_01LCxkTkYTJrFqZ27vDSsn6Y
This commit is contained in:
2026-10-08 18:25:27 -07:00
parent b4ea5a9324
commit f70e6dbff8
+5
View File
@@ -151,6 +151,11 @@ jobs:
CARGO_INCREMENTAL: "0"
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
RUSTFLAGS: -Awarnings -C debuginfo=0 -C strip=symbols
# Thin LTO's final link of this binary took 14 GB on one runner, and on
# 2026-10-08 three of them on one 32 GB node ran it out of memory: a system
# OOM, the node went NotReady, and every build on it was evicted. Without LTO
# the link needs a fraction of that memory and time, for a larger binary.
CARGO_PROFILE_RELEASE_LTO: "false"
steps:
- uses: actions/checkout@v4
with: