Commit 6f6012a
Adam Cozzette
Rust: remove
This check was meant to enforce that the version of the protobuf crate exactly
matches the version of the codegen crate, but this is not strictly necessary.
Tonic would also like to re-export our crate from the `tonic-protobuf` crate,
and the `DEP_UPB_VERSION` check is causing problems with that since the
environment variable is set only for crates that directly depend on the
`protobuf` crate (see
[discussion](hyperium/tonic#2320 (comment))).
While I was at it I also removed the code in the protobuf build script that
sets the `DEP_UPB_INCLUDE` variable, which is unnecessary now that we no longer
generate any C code which would need to know where to find upb's headers.
PiperOrigin-RevId: 786760264DEP_UPB_VERSION check in codegen crate (#22764)1 parent 5e2838e commit 6f6012a
2 files changed
+0
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | 22 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | 134 | | |
143 | 135 | | |
144 | 136 | | |
| |||
0 commit comments