We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b8149f commit 6c68ae6Copy full SHA for 6c68ae6
src/bootstrap/src/core/builder.rs
@@ -2226,13 +2226,8 @@ impl<'a> Builder<'a> {
2226
out
2227
}
2228
2229
- /// Return paths of all submodules managed by git.
2230
- /// If the current checkout is not managed by git, returns an empty slice.
+ /// Return paths of all submodules.
2231
pub fn get_all_submodules(&self) -> &[String] {
2232
- if !self.rust_info().is_managed_git_subrepository() {
2233
- return &[];
2234
- }
2235
-
2236
static SUBMODULES_PATHS: OnceLock<Vec<String>> = OnceLock::new();
2237
2238
let init_submodules_paths = |src: &PathBuf| {
0 commit comments