mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Auto merge of #24782 - servo:timing, r=SimonSapin
Prepend `-Ztimings=info`, don’t append, so it can be overridden
This commit is contained in:
commit
e953eb10b7
1 changed files with 3 additions and 1 deletions
|
@ -628,7 +628,9 @@ class MachCommands(CommandBase):
|
||||||
])
|
])
|
||||||
|
|
||||||
# https://internals.rust-lang.org/t/exploring-crate-graph-build-times-with-cargo-build-ztimings/10975
|
# https://internals.rust-lang.org/t/exploring-crate-graph-build-times-with-cargo-build-ztimings/10975
|
||||||
opts += ["-Ztimings=info"]
|
# Prepend so that e.g. `-Ztimings` (which means `-Ztimings=info,html`)
|
||||||
|
# given on the command line can override it
|
||||||
|
opts = ["-Ztimings=info"] + opts
|
||||||
|
|
||||||
if very_verbose:
|
if very_verbose:
|
||||||
print (["Calling", "cargo", "build"] + opts)
|
print (["Calling", "cargo", "build"] + opts)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue