-
Notifications
You must be signed in to change notification settings - Fork 15.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rust: small fixes to protobuf_well_known_types crate
Use the `substitute_rust_release_version()` macro instead of a one-off genrule. Also update lib.rs to reflect that we now generate a `generated.rs` file that exports code for all the .proto files, instead of having a primary `pb.rs` file. PiperOrigin-RevId: 730882117
- Loading branch information
1 parent
0c1f978
commit f3c5386
Showing
2 changed files
with
6 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
include!(concat!(env!("OUT_DIR"), "/protobuf_generated/google/protobuf/any.u.pb.rs")); | ||
include!(concat!(env!("OUT_DIR"), "/protobuf_generated/google/protobuf/generated.rs")); |