mirror of
https://github.com/servo/servo.git
synced 2025-07-03 21:43:41 +01:00
Prepend -Ztimings=info
, don’t append, so it can be overridden
This commit is contained in:
parent
5c92fd84ca
commit
889a8d1d7c
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