about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorErick Tryzelaar <etryzelaar@google.com>2025-05-15 21:26:46 +0000
committerErick Tryzelaar <etryzelaar@google.com>2025-05-15 21:37:49 +0000
commita64ed161e271a373358bf292de8dab858f8b6bce (patch)
tree758917ca8886ce8ef0efabeb26f30f4496f98ed6 /compiler/rustc_codegen_gcc
parentd163a28381c297a56417d4a5dfe88c6c65429265 (diff)
downloadrust-a64ed161e271a373358bf292de8dab858f8b6bce.tar.gz
rust-a64ed161e271a373358bf292de8dab858f8b6bce.zip
Lowercase git url for rust-lang/enzyme.git
On Fuchsia, we have an internal Gerrit mirrors of the rust repositories
to avoid excess load on the public github servers. Since rust uses
submodules, we need to then use git's `url.<base>.insteadOf` to point
our checkouts at our mirrors.

We'd prefer to be able to point all repositories under
`https://github.com/rust-lang` to
`https://rust.googlesource.com/rust-lang`, but unfortunately it seems
that when Rust mirrored Enzyme, the repository name was lower cased to
`https://github.com/rust-lang/enzyme`, but kept the name capitalized in
the .gitmodules file. This didn't cause a problem for Github, which
seems to handle repository names in a case insensitive way, Gerrit is
case sensitive, so we can't use a glob rule. Instead we have to setup
`insteadOf` rules for each repository.

This renames the URL to match the case of the repository name, which
should avoid the issue.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions