mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Make Cargo print timing information to stdout
This adds lines such as ``` Completed cssparser v0.27.1 custom-build in 2.4s Completed cssparser v0.27.1 custom-build (run) in 0.6s Completed cssparser v0.27.1 in 1.1s ```
This commit is contained in:
parent
50d5bac736
commit
591d7ad6c1
1 changed files with 3 additions and 0 deletions
|
@ -627,6 +627,9 @@ class MachCommands(CommandBase):
|
|||
'-C', env["GSTREAMER_DIR"],
|
||||
])
|
||||
|
||||
# https://internals.rust-lang.org/t/exploring-crate-graph-build-times-with-cargo-build-ztimings/10975
|
||||
opts += ["-Ztimings=info"]
|
||||
|
||||
if very_verbose:
|
||||
print (["Calling", "cargo", "build"] + opts)
|
||||
for key in env:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue