Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit d42b28a

Browse files
Allow cross-compiling, build all crates
1 parent 4dedb58 commit d42b28a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bootstrap/tool.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ pub struct RustAnalyzer {
692692
impl Step for RustAnalyzer {
693693
type Output = Option<PathBuf>;
694694
const DEFAULT: bool = true;
695-
const ONLY_HOSTS: bool = true;
695+
const ONLY_HOSTS: bool = false;
696696

697697
fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
698698
let builder = run.builder;
@@ -719,8 +719,8 @@ impl Step for RustAnalyzer {
719719
target: self.target,
720720
tool: "rust-analyzer",
721721
mode: Mode::ToolStd,
722-
path: "src/tools/rust-analyzer/crates/rust-analyzer",
723-
extra_features: vec!["in-rust-tree".to_owned()],
722+
path: "src/tools/rust-analyzer",
723+
extra_features: vec!["rust-analyzer/in-rust-tree".to_owned()],
724724
is_optional_tool: true,
725725
source_type: SourceType::InTree,
726726
})

0 commit comments

Comments
 (0)