Remove version constants to fix build with different libostree versions

This commit is contained in:
Felix Krull authored and Colin Walters committed 2022-05-06 12:53:53 -04:00
1 parent 16709027e1
commit 57645e91cb
8 files changed
+11 -17

No files matched your search

-4
View File
@@ -55,7 +55,3 @@ lazy_static! {
lazy_static! {
pub static ref TREE_GVARIANT_STRING: &'static str = unsafe{CStr::from_ptr(ffi::OSTREE_TREE_GVARIANT_STRING).to_str().unwrap()};
}
#[cfg(any(feature = "v2017_4", feature = "dox"))]
lazy_static! {
pub static ref VERSION_S: &'static str = unsafe{CStr::from_ptr(ffi::OSTREE_VERSION_S).to_str().unwrap()};
}
-2
View File
@@ -88,8 +88,6 @@ pub use self::constants::REPO_METADATA_REF;
pub use self::constants::SUMMARY_GVARIANT_STRING;
pub use self::constants::SUMMARY_SIG_GVARIANT_STRING;
pub use self::constants::TREE_GVARIANT_STRING;
#[cfg(any(feature = "v2017_4", feature = "dox"))]
pub use self::constants::VERSION_S;
#[doc(hidden)]
pub mod traits {