Allow cross-compiling, build all crates
This commit is contained in:
parent
4dedb5830f
commit
d42b28af41
1 changed files with 3 additions and 3 deletions
|
@ -692,7 +692,7 @@ pub struct RustAnalyzer {
|
||||||
impl Step for RustAnalyzer {
|
impl Step for RustAnalyzer {
|
||||||
type Output = Option<PathBuf>;
|
type Output = Option<PathBuf>;
|
||||||
const DEFAULT: bool = true;
|
const DEFAULT: bool = true;
|
||||||
const ONLY_HOSTS: bool = true;
|
const ONLY_HOSTS: bool = false;
|
||||||
|
|
||||||
fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
|
fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
|
||||||
let builder = run.builder;
|
let builder = run.builder;
|
||||||
|
@ -719,8 +719,8 @@ impl Step for RustAnalyzer {
|
||||||
target: self.target,
|
target: self.target,
|
||||||
tool: "rust-analyzer",
|
tool: "rust-analyzer",
|
||||||
mode: Mode::ToolStd,
|
mode: Mode::ToolStd,
|
||||||
path: "src/tools/rust-analyzer/crates/rust-analyzer",
|
path: "src/tools/rust-analyzer",
|
||||||
extra_features: vec!["in-rust-tree".to_owned()],
|
extra_features: vec!["rust-analyzer/in-rust-tree".to_owned()],
|
||||||
is_optional_tool: true,
|
is_optional_tool: true,
|
||||||
source_type: SourceType::InTree,
|
source_type: SourceType::InTree,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue