Remove version constants to fix build with different libostree versions
This commit is contained in:
1 parent
16709027e1
commit
57645e91cb
8 files changed
+11
-17
No files matched your search
@@ -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()};
|
||||
}
|
||||
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user