Skip to content

Commit e241c6c

Browse files
committed
rollback protobuf compiler to v3.20
Google went and broke JS support in v3.21. See: protocolbuffers/protobuf-javascript#127
1 parent 07ec30b commit e241c6c

File tree

13 files changed

+10
-6
lines changed

13 files changed

+10
-6
lines changed

third_party/protoc/include/google/protobuf/descriptor.proto renamed to third_party/protoc/win64/include/google/protobuf/descriptor.proto

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -740,8 +740,8 @@ message UninterpretedOption {
740740
// The name of the uninterpreted option. Each string represents a segment in
741741
// a dot-separated name. is_extension is true iff a segment represents an
742742
// extension (denoted with parentheses in options specs in .proto files).
743-
// E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents
744-
// "foo.(bar.baz).moo".
743+
// E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents
744+
// "foo.(bar.baz).qux".
745745
message NamePart {
746746
required string name_part = 1;
747747
required bool is_extension = 2;
@@ -868,13 +868,13 @@ message SourceCodeInfo {
868868
// // Comment attached to baz.
869869
// // Another line attached to baz.
870870
//
871-
// // Comment attached to moo.
871+
// // Comment attached to qux.
872872
// //
873-
// // Another line attached to moo.
874-
// optional double moo = 4;
873+
// // Another line attached to qux.
874+
// optional double qux = 4;
875875
//
876876
// // Detached comment for corge. This is not leading or trailing comments
877-
// // to moo or corge because there are blank lines separating it from
877+
// // to qux or corge because there are blank lines separating it from
878878
// // both.
879879
//
880880
// // Detached comment for corge paragraph 2.

third_party/protoc/include/google/protobuf/empty.proto renamed to third_party/protoc/win64/include/google/protobuf/empty.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,5 @@ option cc_enable_arenas = true;
4848
// rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
4949
// }
5050
//
51+
// The JSON representation for `Empty` is empty JSON object `{}`.
5152
message Empty {}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
Protocol Buffers - Google's data interchange format
22
Copyright 2008 Google Inc.
33
https://developers.google.com/protocol-buffers/
4+
45
This package contains a precompiled binary version of the protocol buffer
56
compiler (protoc). This binary is intended for users who want to use Protocol
67
Buffers in languages other than C++ but do not want to compile protoc
78
themselves. To install, simply place this binary somewhere in your PATH.
9+
810
If you intend to use the included well known types then don't forget to
911
copy the contents of the 'include' directory somewhere as well, for example
1012
into '/usr/local/include/'.
13+
1114
Please refer to our official github site for more installation instructions:
1215
https://github.com/protocolbuffers/protobuf

0 commit comments

Comments
 (0)