mirror of
https://github.com/hanzoai/dev.git
synced 2026-10-17 15:34:54 +00:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user