From: Colin Walters Date: Thu, 9 Sep 2021 15:52:21 +0000 (-0400) Subject: lib: Reexport libc::AT_FDCWD X-Git-Tag: archive/raspbian/2022.4-1+rpi1^2~9^2^2~20^2~48 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7b47de7a1485a76afe463e71c24fa8b06e7bc8e5;p=ostree.git 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. --- 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)]