xref: /aosp_15_r20/external/bazelbuild-rules_rust/proto/protobuf/3rdparty/patches/protobuf-2.8.2.patch (revision d4726bddaa87cc4778e7472feed243fa4b6c267f)
1diff --git a/src/lib.rs b/src/lib.rs
2index b487e6e..38b7f7c 100644
3--- a/src/lib.rs
4+++ b/src/lib.rs
5@@ -119,4 +119,7 @@ pub const VERSION: &str = "";
6 #[cfg(never)]
7 #[doc(hidden)]
8 pub const VERSION_IDENT: &str = "";
9-include!(concat!(env!("OUT_DIR"), "/version.rs"));
10+pub const VERSION: &'static str = "2.8.2";
11+#[doc(hidden)]
12+pub const VERSION_IDENT: &'static str = "VERSION_2_8_2";
13+pub const VERSION_2_8_2: () = ();
14