We faced the assert of too many declarations for serialized lookup for a very huge generated C++ target. We
think moving the type to uint32_t helps us. As I am not sure in the fix, please validate the correctness.
I don't have commit rights. Email: firstname.lastname@example.org. Name: Danila Kutenin.