lib: Reexport libc::AT_FDCWD

Useful with `Repo::open_at()`.

Right now ostree-rs-ext pulls in libc for this and `fgetxattr`,
but the latter should go into nix.
This commit is contained in:
Colin Walters 2021-09-09 11:52:21 -04:00
parent 2bfbfe3c6f
commit 7b47de7a14
1 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,9 @@ pub use ffi;
pub use gio; pub use gio;
pub use glib; pub use glib;
/// Useful with `Repo::open_at()`.
pub use libc::AT_FDCWD;
// code generated by gir // code generated by gir
#[rustfmt::skip] #[rustfmt::skip]
#[allow(clippy::all)] #[allow(clippy::all)]