Skip to content

Add pgo config to enable PGO on builds #3132

Description

@winstxnhdw

With PGO builds introduced in 1.13, could we also have a pgo config?

[tool.maturin]
pgo = true
pgo-command = "python workload.py"

I would like to enable PGO builds on pip install without having to explicitly pass the --pgo flag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions