File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1048,6 +1048,12 @@ def bootstrap(args):
10481048 """Configure, fetch, build and run the initial bootstrap"""
10491049 rust_root = os .path .abspath (os .path .join (__file__ , '../../..' ))
10501050
1051+ if not os .path .exists (os .path .join (rust_root , '.git' )) and \
1052+ os .path .exists (os .path .join (rust_root , '.github' )):
1053+ eprint ("warn: Looks like you are trying to bootstrap Rust from a source that is neither a "
1054+ "git clone nor distributed tarball.\n This build may fail due to missing submodules "
1055+ "unless you put them in place manually." )
1056+
10511057 # Read from `--config`, then `RUST_BOOTSTRAP_CONFIG`, then `./config.toml`,
10521058 # then `config.toml` in the root directory.
10531059 toml_path = args .config or os .getenv ('RUST_BOOTSTRAP_CONFIG' )
You can’t perform that action at this time.
0 commit comments