Don't default to submodules = true
unless the rust repo has a .git directory
#87380
+10
−5
submodules = true
unless the rust repo has a .git directory
#87380