rust/library/std/src/sys/unix
Matthias Krüger cd27f1b56e
Rollup merge of #93471 - cuviper:direntry-file_type-stat, r=the8472
unix: Use metadata for `DirEntry::file_type` fallback

When `DirEntry::file_type` fails to match a known `d_type`, we should
fall back to `DirEntry::metadata` instead of a bare `lstat`, because
this is faster and more reliable on targets with `fstatat`.
2022-01-31 07:00:44 +01:00
..
fd I/O safety. 2021-08-19 12:02:39 -07:00
kernel_copy add test for failing io::copy specialization 2021-02-22 21:41:32 +01:00
os Refactor weak symbols in std::sys::unix 2021-11-12 15:25:16 -08:00
os_str Move os_str_bytes to sys::unix and reuse it on other platforms. 2021-07-03 03:01:36 +02:00
process Old versions of Android generate SIGSEGV from libc::abort 2022-01-21 15:44:57 +00:00
alloc.rs STD support for the ESP-IDF framework 2021-08-10 12:09:00 +03:00
android.rs Refactor weak symbols in std::sys::unix 2021-11-12 15:25:16 -08:00
args.rs STD support for the ESP-IDF framework 2021-08-10 12:09:00 +03:00
cmath.rs Reuse unix::cmath 2021-04-28 14:25:04 +02:00
condvar.rs STD support for the ESP-IDF framework 2021-08-10 12:09:00 +03:00
env.rs STD support for the ESP-IDF framework 2021-08-10 12:09:00 +03:00
fd.rs Rollup merge of #88794 - sunfishcode:sunfishcode/try-clone, r=joshtriplett 2022-01-25 05:51:09 +01:00
fs.rs Rollup merge of #93471 - cuviper:direntry-file_type-stat, r=the8472 2022-01-31 07:00:44 +01:00
futex.rs Fix timeout conversion 2020-11-12 03:40:15 +00:00
io.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
kernel_copy.rs Fix a bunch of typos 2021-12-14 16:40:43 +01:00
l4re.rs add TcpStream::set_linger and TcpStream::linger 2021-08-30 13:42:52 -04:00
memchr.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
mod.rs Add new target armv7-unknown-linux-uclibceabihf 2021-10-06 14:33:13 +00:00
mutex.rs Check that pthread mutex initialization succeeded 2020-10-20 00:00:00 +00:00
net.rs Revert "socket ancillary data implementation for dragonflybsd." 2021-12-16 21:32:53 +00:00
os_str.rs Add try_reserve for OsString 2021-12-28 11:28:05 +08:00
os.rs fs: Use readdir() instead of readdir_r() on Linux 2022-01-21 07:59:14 -05:00
path.rs Prefix can be case-insensitive, delegate to its Hash impl instead of trying to hash the raw bytes 2021-11-11 21:44:12 +01:00
pipe.rs I/O safety. 2021-08-19 12:02:39 -07:00
rand.rs STD support for the ESP-IDF framework 2021-08-10 12:09:00 +03:00
rwlock.rs Multiple improvements to RwLocks 2021-06-01 09:07:55 +02:00
stack_overflow.rs Rollup merge of #89068 - bjorn3:restructure_rt2, r=joshtriplett 2021-10-31 13:20:04 +01:00
stdio.rs I/O safety. 2021-08-19 12:02:39 -07:00
thread_local_dtor.rs Move sys::vxworks code to sys::unix 2021-04-19 13:29:22 +02:00
thread_local_key.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
thread.rs Refactor weak symbols in std::sys::unix 2021-11-12 15:25:16 -08:00
time.rs linux/aarch64 Now() should be actually_monotonic() 2021-09-04 15:28:16 -05:00
weak.rs Fix CVE-2022-21658 for UNIX-like 2022-01-19 15:59:22 +01:00