Fix sysroot metadata in metrics
This commit is contained in:
parent
5b62ebc23f
commit
27b0636745
@ -117,6 +117,8 @@ impl Metrics {
|
||||
sh,
|
||||
"./target/release/rust-analyzer -q analysis-stats {path} --query-sysroot-metadata"
|
||||
)
|
||||
// the sysroot uses `public-dependency`, so we make cargo think it's a nightly
|
||||
.env("__CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS", "nightly")
|
||||
.read()?;
|
||||
for (metric, value, unit) in parse_metrics(&output) {
|
||||
self.report(&format!("analysis-stats/{name}/{metric}"), value, unit.into());
|
||||
|
Loading…
x
Reference in New Issue
Block a user