File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -1453,6 +1453,19 @@ then
14531453 cd ${CFG_BUILD_DIR}
14541454fi
14551455
1456+ # Do a sanity check that the submodule source exists. Because GitHub
1457+ # automatically publishes broken tarballs that can't be disabled, and
1458+ # people download them and try to use them.
1459+ if [ ! -e " ${CFG_SRC_DIR} /src/liblibc" ]; then
1460+ err " some submodules are missing. Is this a broken tarball?
1461+
1462+ If you downloaded this tarball from the GitHub release pages at
1463+ https://github.com/rust-lang/rust/releases,
1464+ then please delete it and instead download the source from
1465+ https://www.rust-lang.org/downloads.html"
1466+
1467+ fi
1468+
14561469# Configure llvm, only if necessary
14571470step_msg " looking at LLVM"
14581471CFG_LLVM_SRC_DIR=${CFG_SRC_DIR} src/llvm/
You can’t perform that action at this time.
0 commit comments