protobuf icon indicating copy to clipboard operation
protobuf copied to clipboard

Lite runtime is not supported in proto3

Open Dev-Tony opened this issue 10 years ago • 2 comments

When I use "option optimize_for = LITE_RUNTIME;" in proto file, I get this error.

But I find a lot of document talks about it, even proto3 https://developers.google.com/protocol-buffers/docs/proto3#options

and release note for proto3 3.0.0-beta-2 talks about it.

I'm really confused... Does proto 3 support lite runtime or note

Dev-Tony avatar Apr 22 '16 03:04 Dev-Tony

LITE_RUNTIME is only supported for proto2 syntax files in the 3.0.0-beta-2 release. We just added LITE_RUNTIME support for proto3 in the current github master branch though. Please try it out. It will be included in the next beta release.

xfxyjwf avatar Apr 22 '16 18:04 xfxyjwf

ok, understand. Thank you.

Dev-Tony avatar Apr 26 '16 06:04 Dev-Tony