From a990de90fe41456a23e58bd087d2f107d321f3a1 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 19 Jul 2024 16:37:58 +0400 Subject: Deleted vendor folder --- vendor/rustix/src/ffi.rs | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 vendor/rustix/src/ffi.rs (limited to 'vendor/rustix/src/ffi.rs') diff --git a/vendor/rustix/src/ffi.rs b/vendor/rustix/src/ffi.rs deleted file mode 100644 index ef9f87d..0000000 --- a/vendor/rustix/src/ffi.rs +++ /dev/null @@ -1,15 +0,0 @@ -//! Utilities related to FFI bindings. - -// If we have std, use it. -#[cfg(feature = "std")] -pub use { - std::ffi::{CStr, CString, FromBytesWithNulError, NulError}, - std::os::raw::c_char, -}; - -// If we don't have std, we can depend on core and alloc having these features -// in Rust 1.64+. -#[cfg(all(feature = "alloc", not(feature = "std")))] -pub use alloc::ffi::{CString, NulError}; -#[cfg(not(feature = "std"))] -pub use core::ffi::{c_char, CStr, FromBytesWithNulError}; -- cgit v1.2.3