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/libc/src/windows/gnu/align.rs | 19 ------------------- vendor/libc/src/windows/gnu/mod.rs | 23 ----------------------- 2 files changed, 42 deletions(-) delete mode 100644 vendor/libc/src/windows/gnu/align.rs delete mode 100644 vendor/libc/src/windows/gnu/mod.rs (limited to 'vendor/libc/src/windows/gnu') diff --git a/vendor/libc/src/windows/gnu/align.rs b/vendor/libc/src/windows/gnu/align.rs deleted file mode 100644 index 3af99e3..0000000 --- a/vendor/libc/src/windows/gnu/align.rs +++ /dev/null @@ -1,19 +0,0 @@ -cfg_if! { - if #[cfg(target_pointer_width = "64")] { - s_no_extra_traits! { - #[allow(missing_debug_implementations)] - #[repr(align(16))] - pub struct max_align_t { - priv_: [f64; 4] - } - } - } else if #[cfg(target_pointer_width = "32")] { - s_no_extra_traits! { - #[allow(missing_debug_implementations)] - #[repr(align(16))] - pub struct max_align_t { - priv_: [i64; 6] - } - } - } -} diff --git a/vendor/libc/src/windows/gnu/mod.rs b/vendor/libc/src/windows/gnu/mod.rs deleted file mode 100644 index 3e7d38b..0000000 --- a/vendor/libc/src/windows/gnu/mod.rs +++ /dev/null @@ -1,23 +0,0 @@ -pub const L_tmpnam: ::c_uint = 14; -pub const TMP_MAX: ::c_uint = 0x7fff; - -// stdio file descriptor numbers -pub const STDIN_FILENO: ::c_int = 0; -pub const STDOUT_FILENO: ::c_int = 1; -pub const STDERR_FILENO: ::c_int = 2; - -extern "C" { - pub fn strcasecmp(s1: *const ::c_char, s2: *const ::c_char) -> ::c_int; - pub fn strncasecmp(s1: *const ::c_char, s2: *const ::c_char, n: ::size_t) -> ::c_int; - - // NOTE: For MSVC target, `wmemchr` is only a inline function in `` - // header file. We cannot find a way to link to that symbol from Rust. - pub fn wmemchr(cx: *const ::wchar_t, c: ::wchar_t, n: ::size_t) -> *mut ::wchar_t; -} - -cfg_if! { - if #[cfg(libc_align)] { - mod align; - pub use self::align::*; - } -} -- cgit v1.2.3