dev: add support for dev generate cgo
#79455
+77
−2
Merged
dev generate cgo
#79455