X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fbootstrap%2Flib.rs;h=2960dd3df6bf48b81a98cbd0ee8c80e42a6176f2;hb=de1d7dbd0fad3da8c783fcbef742df3e60409bb7;hp=a351290a4206fec219a7ac1c41e20674646ab1fa;hpb=ff2c947c00f867b9f012e28ba88cecfbe556f904;p=rust.git diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index a351290a420..2960dd3df6b 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -472,22 +472,12 @@ pub fn build_triple(&self) -> &[Interned] { slice::from_ref(&self.build.triple) } - /// If the LLVM submodule has been initialized already, sync it unconditionally. This avoids - /// contributors checking in a submodule change by accident. - pub fn maybe_update_llvm_submodule(&self) { - if self.in_tree_llvm_info.is_git() { - native::update_llvm_submodule(self); - } - } - /// Executes the entire build, as configured by the flags and configuration. pub fn build(&mut self) { unsafe { job::setup(self); } - self.maybe_update_llvm_submodule(); - if let Subcommand::Format { check, paths } = &self.config.cmd { return format::format(self, *check, &paths); }