Hi -
I'm building an interface in rust to a large library of C & C# code that
uses protocol buffers for it's IPC encoding. In the .proto files there are
a lot of message structures like
message Foo {
message Inner {
message Context {
double field1 = 1;
... }
google.protobuf.Timestamp at = 1;
Context cx1 = 2;
Context cx2 = 3;
... }
double value = 1;
repeated Inner inner_list = 2;
... }
And the rust code generator doesn't appear to use consistent case folding
in the generated code. Specifically, I see references to
super::super::super::foo::inner::Context
producing error messages like
error[E0433]: failed to resolve: could not find `foo` in `super`
which go away if I hand edit the generated code to use the capitalized Foo
from the generated pub struct Foo. This seems like a bug, and I thought it
would be good to check if there might be code generator option magic that I
am missing.
As a side note, the proto code builds perfectly under the 3.7.2 stepancheg
release, so maybe this is a bleeding edge problem?
Thanks in advance
- d
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/protobuf/91bdad1a-1841-4556-9837-6f73c79e8358n%40googlegroups.com.