diff --git a/scripts/cargo2android.py b/scripts/cargo2android.py index 3918b48b1..22376d4a4 100755 --- a/scripts/cargo2android.py +++ b/scripts/cargo2android.py @@ -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 = {