We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5b62ebc + 27b0636 commit a19372fCopy full SHA for a19372f
xtask/src/metrics.rs
@@ -117,6 +117,8 @@ impl Metrics {
117
sh,
118
"./target/release/rust-analyzer -q analysis-stats {path} --query-sysroot-metadata"
119
)
120
+ // the sysroot uses `public-dependency`, so we make cargo think it's a nightly
121
+ .env("__CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS", "nightly")
122
.read()?;
123
for (metric, value, unit) in parse_metrics(&output) {
124
self.report(&format!("analysis-stats/{name}/{metric}"), value, unit.into());
0 commit comments