Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit b9fe8de

Browse files
committed
Readd os::cygwin::raw as pub(crate)
1 parent c3051b1 commit b9fe8de

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

library/std/src/os/cygwin/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
//! Cygwin-specific definitions
22
#![stable(feature = "raw_ext", since = "1.1.0")]
33
pub mod fs;
4+
pub(crate) mod raw;

library/std/src/os/cygwin/raw.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
//! Cygwin-specific raw type definitions.
2+
3+
#[stable(feature = "raw_ext", since = "1.1.0")]
4+
pub use libc::{blkcnt_t, blksize_t, dev_t, ino_t, mode_t, nlink_t, off_t, pthread_t, time_t};

library/std/src/sys/pal/unix/thread.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,6 @@ impl Drop for Thread {
344344
target_os = "illumos",
345345
target_os = "vxworks",
346346
target_vendor = "apple",
347-
target_os = "cygwin",
348347
))]
349348
fn truncate_cstr<const MAX_WITH_NUL: usize>(cstr: &CStr) -> [libc::c_char; MAX_WITH_NUL] {
350349
let mut result = [0; MAX_WITH_NUL];

0 commit comments

Comments
 (0)