Rename libsyn to libsyn2

A downstream project has an invalid branching structure, so we can't
actually rename `libsyn` to `libsyn-legacy` like we normally would.
Instead, we must allow the legacy package to squat on the `libsyn` name
until the branching structure is fixed to unblock the upgrade to
syn-2.x.

Test: TreeHugger
Bug: 276463929
Bug: 278978404
Change-Id: If72d389dd5238299cc1b35818e0b5596b0469cb1
This commit is contained in:
Matthew Maurer
2023-05-22 21:21:02 +00:00
parent 3b3aef3544
commit 7705ea6d36

View File

@@ -83,6 +83,11 @@ RENAME_MAP = {
'libx86_64': 'libx86_64_rust',
'libxml': 'libxml_rust',
'protoc_gen_rust': 'protoc-gen-rust',
# Due to incorrect branching by a downstream project, we cannot
# rename libsyn to libsyn_legacy or fully upgrade it to libsyn2
# in place. We change the default name to allow the legacy package
# to squat on the `libsyn` name.
'libsyn': 'libsyn2',
}
RENAME_STEM_MAP = {