Fix x dist --stage 1 src/tools/rust-analyzer
Previously, this would break because the submodule wasn't checked out.
This commit is contained in:
parent
1851f0802e
commit
6f5de285eb
1 changed files with 3 additions and 0 deletions
|
@ -879,6 +879,9 @@ impl Step for PlainSourceTarball {
|
||||||
|
|
||||||
// If we're building from git sources, we need to vendor a complete distribution.
|
// If we're building from git sources, we need to vendor a complete distribution.
|
||||||
if builder.rust_info.is_git() {
|
if builder.rust_info.is_git() {
|
||||||
|
// Ensure we have the submodules checked out.
|
||||||
|
builder.update_submodule(Path::new("src/tools/rust-analyzer"));
|
||||||
|
|
||||||
// Vendor all Cargo dependencies
|
// Vendor all Cargo dependencies
|
||||||
let mut cmd = Command::new(&builder.initial_cargo);
|
let mut cmd = Command::new(&builder.initial_cargo);
|
||||||
cmd.arg("vendor")
|
cmd.arg("vendor")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue