Skip to content

Add support for -Ztimings to x.py #65088

Closed
@nnethercote

Description

@nnethercote

Cargo's new experimental -Ztimings flag is really cool. See here for sample output. It would be great to add support for this to x.py. It would help a lot with #65031.

I tried and failed to get -Ztimings working with rustc, according to some instructions here. One complication is that rustc normally builds with a beta version of Cargo, but -Ztimings is nightly only.

@ehuss : what steps did you take to get the rustc measurements? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: A feature request, i.e: not implemented / a PR.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-cargoRelevant to the cargo team, which will review and decide on the PR/issue.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions