Skip to content

fix: reject missing optimization level - #1326

Merged
godofecht merged 6 commits into
mainfrom
codex/opt-level-option-contract
Oct 6, 2026
Merged

godofecht merged 6 commits into
mainfrom
codex/opt-level-option-contract

Conversation

@godofecht

Copy link
Copy Markdown
Contributor

Reject bare --opt-level instead of silently leaving the default optimization level active. Add a regression test.\n\nPart of #665

godofecht and others added 2 commits October 5, 2026 11:40
A bare --opt-level already failed, but --opt-level= still fell through
to the default O2 pipeline. Treat an empty attached value as missing
and document the contract.

Co-authored-by: Abhishek Shivakumar <[email protected]>
@godofecht
godofecht merged commit 7342284 into main Oct 6, 2026
34 checks passed
@godofecht
godofecht deleted the codex/opt-level-option-contract branch October 12, 2026 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants