File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -379,19 +379,22 @@ impl Step for RustAnalyzer {
379379
380380 builder. ensure ( tool:: RustAnalyzer { compiler, target : self . host } ) . expect ( "in-tree tool" ) ;
381381
382- let path = "src/tools/rust-analyzer" ;
382+ let workspace_path = "src/tools/rust-analyzer" ;
383+ // until the whole RA test suite runs on `i686`, we only run
384+ // `proc-macro-srv` tests
385+ let crate_path = "src/tools/rust-analyzer/crates/proc-macro-srv" ;
383386 let mut cargo = tool:: prepare_tool_cargo (
384387 builder,
385388 compiler,
386389 Mode :: ToolStd ,
387390 host,
388391 "test" ,
389- path ,
392+ crate_path ,
390393 SourceType :: InTree ,
391- & [ "rust-analyzer/in-rust-tree " . to_owned ( ) ] ,
394+ & [ "sysroot-abi " . to_owned ( ) ] ,
392395 ) ;
393396
394- let dir = builder. src . join ( path ) ;
397+ let dir = builder. src . join ( workspace_path ) ;
395398 // needed by rust-analyzer to find its own text fixtures, cf.
396399 // https://github.com/rust-analyzer/expect-test/issues/33
397400 cargo. env ( "CARGO_WORKSPACE_DIR" , & dir) ;
You can’t perform that action at this time.
0 commit comments