From 9f721d8c8842a3020a2743f0a916d31a76cf35c7 Mon Sep 17 00:00:00 2001 From: Aleksey Kliger Date: Wed, 4 Jun 2025 10:51:36 -0400 Subject: [PATCH] Add musl submodule to .gitmodules The compiler-builtins subtree has musl as a submodule, but it is not present in the git root .gitmodules. This breaks some workflows with `build.submodules = false` That is, a naive `git submodule update --init` will error out with: ``` fatal: No url found for submodule path 'library/compiler-builtins/crates/musl-math-sys/musl' in .gitmodules ``` --- .gitmodules | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitmodules b/.gitmodules index fbf2f59b38da1..823e678ae74ac 100644 --- a/.gitmodules +++ b/.gitmodules @@ -51,3 +51,7 @@ path = src/gcc url = https://github.com/rust-lang/gcc.git shallow = true +[submodule "library/compiler-builtins/crates/musl-math-sys/musl"] + path = library/compiler-builtins/crates/musl-math-sys/musl + url = https://git.musl-libc.org/git/musl + shallow = true