Skip to content

feat: support --pgo for maturin develop - #3270

Merged
messense merged 1 commit into
PyO3:mainfrom
messense:develop-pgo
Jul 19, 2026
Merged

feat: support --pgo for maturin develop#3270
messense merged 1 commit into
PyO3:mainfrom
messense:develop-pgo

Conversation

@messense

Copy link
Copy Markdown
Member

Add a --pgo flag to maturin develop that runs the same three-phase PGO build as maturin build --pgo. Since PGO-optimizing a debug build makes no sense, --pgo implies the release profile unless another profile is explicitly requested with --profile.

Closes #3255

Add a --pgo flag to `maturin develop` that runs the same three-phase
PGO build as `maturin build --pgo`. Since PGO-optimizing a debug build
makes no sense, --pgo implies the release profile unless another
profile is explicitly requested with --profile.

Closes PyO3#3255
@messense
messense merged commit dff01db into PyO3:main Jul 19, 2026
45 checks passed
@messense
messense deleted the develop-pgo branch July 19, 2026 10:08
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.

support --pgo for maturin develop

1 participant