rust-lang / rust-lang/cargo

Support profile-guided optimization via Cargo

Open
#7,618 2 comments 10 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C-feature-request Command-build S-needs-design
Dominant language
Rust
Stars
15.5k
Forks
3k
Avg merge
23h 30m
Merged PRs (30d)
51

Description

Now that PGO is available in stable Rust it would be great to make it easily accessible via cargo. @alexcrichton made a rough proposal for what this could look like here: https://github.com/rust-lang/rust/issues/59913#issuecomment-483299718

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Rust profile-guided optimization documentation and the proposal in rust-lang/rust issue #59913, comment 483299718. Define the Cargo workflow needed to make stable Rust PGO accessible, and consider the work done when that workflow is supported by Cargo.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.