add build metrics, to gather ci stats from x.py
This tool will generate a JSON file with statistics about each individual step to disk. It will be used in rust-lang/rust's CI to replace the mix of scripts and log scraping we currently have to gather this data.
This commit is contained in:
parent
f75d884046
commit
53965d3daf
8 changed files with 258 additions and 0 deletions
|
@ -896,6 +896,9 @@ class RustBuild(object):
|
|||
args.append("--locked")
|
||||
if self.use_vendored_sources:
|
||||
args.append("--frozen")
|
||||
if self.get_toml("metrics", "build"):
|
||||
args.append("--features")
|
||||
args.append("build-metrics")
|
||||
run(args, env=env, verbose=self.verbose)
|
||||
|
||||
def build_triple(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue