We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78ee5d0 commit 0f387ebCopy full SHA for 0f387eb
src/bootstrap/src/lib.rs
@@ -594,8 +594,11 @@ impl Build {
594
/// Updates a submodule, and exits with a failure if submodule management
595
/// is disabled and the submodule does not exist.
596
///
597
+ /// The given submodule name should be its path relative to the root of
598
+ /// the main repository.
599
+ ///
600
/// The given `err_hint` will be shown to the user if the submodule is not
- /// checked out.
601
+ /// checked out and submodule management is disabled.
602
pub fn require_and_update_submodule(&self, submodule: &str, err_hint: Option<&str>) {
603
// When testing bootstrap itself, it is much faster to ignore
604
// submodules. Almost all Steps work fine without their submodules.
0 commit comments