This post from 2022 was very interesting:
There are approximately 1.5 million total lines of Rust code in AOSP across new functionality and components […] These are low-level components that require a systems language which otherwise would have been implemented in C++.
To date, there have been zero memory safety vulnerabilities discovered in Android’s Rust code.
https://security.googleblog.com/2022/12/memory-safe-languages-in-android-13.html
There are cases where instead of
origin/master..HEAD
you may want to use@{upstream}..HEAD
instead to compare with the upstream of your current branch. It’s unfortunately quite unknown.