[PATCH 6.12.y 59/60] rust: use custom FFI integer types