We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b1dcf4 commit 6bc9318Copy full SHA for 6bc9318
configure
@@ -1453,6 +1453,19 @@ then
1453
cd ${CFG_BUILD_DIR}
1454
fi
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
1469
# Configure llvm, only if necessary
1470
step_msg "looking at LLVM"
1471
CFG_LLVM_SRC_DIR=${CFG_SRC_DIR}src/llvm/
0 commit comments