about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorAmos Wenger <amoswenger@gmail.com>2022-07-22 18:01:49 +0200
committerAmos Wenger <amoswenger@gmail.com>2022-07-24 10:37:59 +0200
commitd42b28af4178654f5bb6984b156eaee88d298746 (patch)
tree99737721804f31041e98639c0bcc889605569940 /src/bootstrap
parent4dedb5830f65f79ee95701afd3d40ed13d8a346d (diff)
downloadrust-d42b28af4178654f5bb6984b156eaee88d298746.tar.gz
rust-d42b28af4178654f5bb6984b156eaee88d298746.zip
Allow cross-compiling, build all crates
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/tool.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bootstrap/tool.rs b/src/bootstrap/tool.rs
index 5743548d969..9d465a312f9 100644
--- a/src/bootstrap/tool.rs
+++ b/src/bootstrap/tool.rs
@@ -692,7 +692,7 @@ pub struct RustAnalyzer {
 impl Step for RustAnalyzer {
     type Output = Option<PathBuf>;
     const DEFAULT: bool = true;
-    const ONLY_HOSTS: bool = true;
+    const ONLY_HOSTS: bool = false;
 
     fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
         let builder = run.builder;
@@ -719,8 +719,8 @@ impl Step for RustAnalyzer {
             target: self.target,
             tool: "rust-analyzer",
             mode: Mode::ToolStd,
-            path: "src/tools/rust-analyzer/crates/rust-analyzer",
-            extra_features: vec!["in-rust-tree".to_owned()],
+            path: "src/tools/rust-analyzer",
+            extra_features: vec!["rust-analyzer/in-rust-tree".to_owned()],
             is_optional_tool: true,
             source_type: SourceType::InTree,
         })