From 7b47de7a1485a76afe463e71c24fa8b06e7bc8e5 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 9 Sep 2021 11:52:21 -0400 Subject: [PATCH] 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. --- rust-bindings/rust/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rust-bindings/rust/src/lib.rs b/rust-bindings/rust/src/lib.rs index 28cf89ea..41cdd58b 100644 --- a/rust-bindings/rust/src/lib.rs +++ b/rust-bindings/rust/src/lib.rs @@ -16,6 +16,9 @@ pub use ffi; pub use gio; pub use glib; +/// Useful with `Repo::open_at()`. +pub use libc::AT_FDCWD; + // code generated by gir #[rustfmt::skip] #[allow(clippy::all)]