remove the use of fn update_submodule
on rust-analyzer
We don't need to run `fn update_submodule` on rust-analyzer as it's no longer a submodule. Signed-off-by: onur-ozkan <work@onurozkan.dev>
This commit is contained in:
parent
6d7e6a25af
commit
92ab93fcb5
@ -22,7 +22,6 @@ fn configure_with_args(cmd: &[String], host: &[&str], target: &[&str]) -> Config
|
|||||||
..Config::parse(&["check".to_owned()])
|
..Config::parse(&["check".to_owned()])
|
||||||
});
|
});
|
||||||
submodule_build.update_submodule(Path::new("src/doc/book"));
|
submodule_build.update_submodule(Path::new("src/doc/book"));
|
||||||
submodule_build.update_submodule(Path::new("src/tools/rust-analyzer"));
|
|
||||||
config.submodules = Some(false);
|
config.submodules = Some(false);
|
||||||
|
|
||||||
config.ninja_in_file = false;
|
config.ninja_in_file = false;
|
||||||
|
@ -1009,7 +1009,6 @@ impl Step for PlainSourceTarball {
|
|||||||
if builder.rust_info().is_managed_git_subrepository() {
|
if builder.rust_info().is_managed_git_subrepository() {
|
||||||
// Ensure we have the submodules checked out.
|
// Ensure we have the submodules checked out.
|
||||||
builder.update_submodule(Path::new("src/tools/cargo"));
|
builder.update_submodule(Path::new("src/tools/cargo"));
|
||||||
builder.update_submodule(Path::new("src/tools/rust-analyzer"));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Vendor all Cargo dependencies
|
// Vendor all Cargo dependencies
|
||||||
|
Loading…
x
Reference in New Issue
Block a user