File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
src/bootstrap/src/core/build_steps Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -671,11 +671,14 @@ impl Step for RustAnalyzerProcMacroSrv {
671671 // Allow building `rust-analyzer-proc-macro-srv` both as part of the `rust-analyzer` and as a stand-alone tool.
672672 run. path ( "src/tools/rust-analyzer" )
673673 . path ( "src/tools/rust-analyzer/crates/proc-macro-srv-cli" )
674- . default_condition ( builder. config . tools . as_ref ( ) . map_or ( true , |tools| {
675- tools
676- . iter ( )
677- . any ( |tool| tool == "rust-analyzer" || tool == "rust-analyzer-proc-macro-srv" )
678- } ) )
674+ . default_condition (
675+ builder. config . extended
676+ && builder. config . tools . as_ref ( ) . map_or ( true , |tools| {
677+ tools. iter ( ) . any ( |tool| {
678+ tool == "rust-analyzer" || tool == "rust-analyzer-proc-macro-srv"
679+ } )
680+ } ) ,
681+ )
679682 }
680683
681684 fn make_run ( run : RunConfig < ' _ > ) {
You can’t perform that action at this time.
0 commit comments