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
1453
1453
cd ${CFG_BUILD_DIR}
1454
1454
fi
1455
1455
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
+
1456
1469
# Configure llvm, only if necessary
1457
1470
step_msg " looking at LLVM"
1458
1471
CFG_LLVM_SRC_DIR=${CFG_SRC_DIR} src/llvm/
You can’t perform that action at this time.
0 commit comments