]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #95849 - ehuss:check-submodules, r=Mark-Simulacrum
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>
Sun, 10 Apr 2022 19:03:36 +0000 (21:03 +0200)
committerGitHub <noreply@github.com>
Sun, 10 Apr 2022 19:03:36 +0000 (21:03 +0200)
commit0b871435e97c3f9e6ead6ca09af979a2c2b517ed
tree84c96d41c18011efd4a05f24a106eaceaa813456
parentc1725448480469fe1cdce0b8d86c85965a91bc90
parentca9ef27ed156d599f6feac0c772cc29d960526ee
Rollup merge of #95849 - ehuss:check-submodules, r=Mark-Simulacrum

Check for git submodules in non-git source tree.

People occasionally download the source from https://github.com/rust-lang/rust/releases, but those source distributions will not work because they are missing the submodules. They will get a confusing `failed to load manifest for workspace member` error.

Unfortunately AFAIK there is no way to disable the GitHub source links. This change tries to detect this scenario and provide an error message that guides them toward a solution.

Closes #95608