rust-lang / rustc_codegen_gcc

libgccjit AOT codegen for rustc
Apache License 2.0
905 stars 60 forks source link

Use shallow clone in test.rs to reduce cloning overhead #432

Closed tempdragon closed 6 months ago

tempdragon commented 6 months ago

GitHub may not necessarily be accessible in some conditions/locations. Switching to a shallow clone can significantly reduce the time for cloning rust from GitHub.

GuillaumeGomez commented 6 months ago

I remember having issues when doing shallow clones. However I can't figure which ones. Let's get this in for now and if issues arise, we can always revert. Thanks!