You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into a problem where add_serde() will append trait impls to google.protobuf.rs after each build, but neither prost nor prost-wkt would clear it, so it only becomes bigger and bigger.
And I found the generated google.protobuf.rs isn't actually used, so the duplicated code won't break the build. But if anyone includes the generated files in VCS, there will be a problem. A simple workaround I currently use is to remove google.protobuf.rs after add_serde():
I ran into a problem where
add_serde()
will append trait impls togoogle.protobuf.rs
after each build, but neither prost nor prost-wkt would clear it, so it only becomes bigger and bigger.prost-wkt/wkt-build/src/lib.rs
Lines 12 to 41 in bedabbb
And I found the generated
google.protobuf.rs
isn't actually used, so the duplicated code won't break the build. But if anyone includes the generated files in VCS, there will be a problem. A simple workaround I currently use is to removegoogle.protobuf.rs
afteradd_serde()
:The text was updated successfully, but these errors were encountered: