Skip to content

Add musl submodule to .gitmodules #142029

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

lambdageek
Copy link
Contributor

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

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
```
@rustbot
Copy link
Collaborator

rustbot commented Jun 4, 2025

r? @Mark-Simulacrum

rustbot has assigned @Mark-Simulacrum.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 4, 2025
@Kobzol
Copy link
Contributor

Kobzol commented Jun 4, 2025

I hoped that we would just wait for rust-lang/compiler-builtins#944 to get rid of the submodule. But if this is blocking people, then I guess we could add it in the meantime.

@lambdageek
Copy link
Contributor Author

Looks like rust-lang/compiler-builtins#944 is going to be synced over soon, so there's no need for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants