Skip to content

Print total time for a build invocation #34600

Closed
@alexcrichton

Description

@alexcrichton

I've found it nifty when building Servo that the total time for the build is printed at the end, and I think we may want to do so as well! Let's modify rustbuild (src/bootstrap) to print how long the entire program takes.

Depending on how easy it is we may want to modify the python script (src/bootstrap/bootstrap.py) as that's the wrapper for everything, but if it's too much effort then let's just modify src/bootstrap/main.rs and assume the python bits are fast.

Should be a pretty easy bug to knock out and I'd be willing to help out anyone interested!

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions