We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 561b5de commit f13edebCopy full SHA for f13edeb
src/bootstrap/src/core/builder.rs
@@ -2221,13 +2221,8 @@ impl<'a> Builder<'a> {
2221
out
2222
}
2223
2224
- /// Return paths of all submodules managed by git.
2225
- /// If the current checkout is not managed by git, returns an empty slice.
+ /// Return paths of all submodules.
2226
pub fn get_all_submodules(&self) -> &[String] {
2227
- if !self.rust_info().is_managed_git_subrepository() {
2228
- return &[];
2229
- }
2230
-
2231
static SUBMODULES_PATHS: OnceLock<Vec<String>> = OnceLock::new();
2232
2233
let init_submodules_paths = |src: &PathBuf| {
0 commit comments