Skip to content

Skip build-system warning construction when warnings are disabled - #22568

Merged
charliermarsh merged 1 commit into
mainfrom
charlie/codex-uv-build-lazy-warnings
Oct 14, 2026
Merged

charliermarsh merged 1 commit into
mainfrom
charlie/codex-uv-build-lazy-warnings

Conversation

@astral-automations-bot

Copy link
Copy Markdown
Contributor

Summary

We only check the build-system table for warnings when user-facing warnings are enabled. The standalone uv-build binary never enables them, so the linker can discard the warning construction and version checks. The bundled backend retains the same warnings and deduplication.

On Linux x86_64 with Rust 1.99.0 and the stripped minimal-size profile, uv-build decreases from 3,301,624 to 3,290,176 bytes (11,448 bytes) against main at 725b74bff.

@astral-automations-bot astral-automations-bot Bot added internal A refactor or improvement that is not user-facing performance labels Oct 14, 2026
@charliermarsh
charliermarsh merged commit 56cb190 into main Oct 14, 2026
63 checks passed
@charliermarsh
charliermarsh deleted the charlie/codex-uv-build-lazy-warnings branch October 14, 2026 19:54

This branch was previously deployed

1 inactive deployment
automations — 154af453 Deployed Oct 14, 2026 by astral-automations-bot[bot] via review / security review #51002
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal A refactor or improvement that is not user-facing performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant