I was running
x.py build src/libstd and was feeling sleepy and had to stop it midway. It had fetched the repository for src/llvm and was resolving objects when I interrupted it.
Now if i try to build again i get
Failed to clone 'src/llvm-project'. Retry scheduled BUG: submodule considered for cloning, doesn't need cloning any more? fatal: could not get a repository handle for submodule 'src/llvm-project'
and even if i try the suggested submodule update, it still can't fetch the repository handle.
if you run
git submodule init && git submodule update what happens?
I know nothing about submodules so if that doesn't work I'm out of ideas :laughing:
@Joshua Nelson sadly that doesn't work
git submodule deinit --force before trying
git submodule update --init --recursive
Push comes to shove, just
rm -r src/llvm-project/ and reinit
thanks will give that a try