-
-
Notifications
You must be signed in to change notification settings - Fork 17.8k
rustc should accept rustc -O -C opt-level=x #32352
Copy link
Copy link
Closed
Labels
A-frontendArea: Compiler frontend (errors, parsing and HIR)Area: Compiler frontend (errors, parsing and HIR)C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.
Description
Activity
Metadata
Metadata
Assignees
Labels
A-frontendArea: Compiler frontend (errors, parsing and HIR)Area: Compiler frontend (errors, parsing and HIR)C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.
rustc -O -Ois ok just likerustc -C opt-level=1 -C opt-level=2.-Ois documented to be the same as-C opt-level=2, so there should be no conflict, just have the last argument take precedent.-gvs-C debuginfo=2behave the same way.