File tree 2 files changed +6
-1
lines changed
crates/rust-analyzer/src/cli
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -276,6 +276,7 @@ impl flags::RustcTests {
276
276
pub fn run ( self ) -> Result < ( ) > {
277
277
let mut tester = Tester :: new ( ) ?;
278
278
let walk_dir = WalkDir :: new ( self . rustc_repo . join ( "tests/ui" ) ) ;
279
+ eprintln ! ( "Running tests for tests/ui" ) ;
279
280
for i in walk_dir {
280
281
let i = i?;
281
282
let p = i. into_path ( ) ;
Original file line number Diff line number Diff line change @@ -86,7 +86,11 @@ impl Metrics {
86
86
fn measure_rustc_tests ( & mut self , sh : & Shell ) -> anyhow:: Result < ( ) > {
87
87
eprintln ! ( "\n Measuring rustc tests" ) ;
88
88
89
- cmd ! ( sh, "git clone --depth=1 https://github.com/rust-lang/rust" ) . run ( ) ?;
89
+ cmd ! (
90
+ sh,
91
+ "git clone --depth=1 --branch 1.76.0 https://github.com/rust-lang/rust.git --single-branch"
92
+ )
93
+ . run ( ) ?;
90
94
91
95
let output = cmd ! ( sh, "./target/release/rust-analyzer rustc-tests ./rust" ) . read ( ) ?;
92
96
for ( metric, value, unit) in parse_metrics ( & output) {
You can’t perform that action at this time.
0 commit comments