rust/library/std/src
Matthias Krüger fbd63a93c3
Rollup merge of #146549 - asomers:freebsd-readdir, r=Mark-Simulacrum
On FreeBSD, use readdir instead of readdir_r

readdir_r has the same problems on FreeBSD as it does on other platforms: it assumes a fixed NAME_MAX.  And readdir has the same thread-safety guarantee as it does on other platforms: it's safe as long as only one thread tries to read from the directory stream at a given time.

Furthermore, readdir_r is likely to be removed for FreeBSD 16, so we should stop using it now.
2025-09-15 22:09:50 +02:00
..
backtrace remove redundant imports 2023-12-10 10:56:22 +08:00
collections remove deprecated Error::description in impls 2025-08-26 06:36:53 +00:00
ffi Constify conversion traits 2025-09-01 21:38:26 -04:00
fs feat(std): emulate flock for solaris via fcntl 2025-09-07 00:05:13 -04:00
hash remove const_hash feature leftovers 2024-11-02 11:27:14 +01:00
io std: make address resolution weirdness local to SGX 2025-09-08 16:58:43 +02:00
net std: make address resolution weirdness local to SGX 2025-09-08 16:58:43 +02:00
num Change stdlib float tests to account for miri nondet floats. 2025-09-06 21:45:17 +02:00
os Rollup merge of #139524 - Berrysoft:cygwin-socket-ext, r=tgross35 2025-09-06 14:39:04 -04:00
prelude Make derive_const usable within libcore again 2025-07-17 15:42:54 +00:00
process std: Apply deprecated_safe_2024 2025-02-13 13:10:28 -08:00
sync fix Condvar::wait_timeout docs 2025-09-13 20:13:37 +02:00
sys Rollup merge of #146549 - asomers:freebsd-readdir, r=Mark-Simulacrum 2025-09-15 22:09:50 +02:00
sys_common Move WTF-8 code from std to core/alloc 2025-08-20 20:31:33 -04:00
thread Rollup merge of #145895 - RalfJung:unpark, r=joboet 2025-09-12 20:02:10 +10:00
alloc.rs Make __rust_alloc_error_handler_should_panic a function 2025-07-03 10:52:21 -07:00
ascii.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
backtrace.rs use generic Atomic type where possible 2025-04-27 02:18:08 +03:00
bstr.rs Implement ByteStr and ByteString types 2025-01-11 06:35:21 +02:00
env.rs remove deprecated Error::description in impls 2025-08-26 06:36:53 +00:00
error.rs Move std::error unit tests to integration tests 2025-01-26 10:28:04 +00:00
fs.rs Rollup merge of #144964 - 0xdeafbeef:fix-open-options, r=ibraheemdev 2025-08-30 18:49:48 -05:00
keyword_docs.rs fixup become kw documentation wrt #[track_caller] 2025-09-13 19:48:10 +02:00
lib.miri.rs add 'x.py miri', and make it work for 'library/{core,alloc,std}' 2024-04-03 20:27:20 +02:00
lib.rs Revert "Constify SystemTime methods" 2025-09-12 17:16:38 +02:00
macros.rs feat: implement hash_map! macro 2025-08-02 01:32:52 +02:00
panic.rs Link to payload_as_str() from payload(). 2025-08-12 12:50:48 +02:00
panicking.rs improve process::abort rendering in Miri backtraces 2025-09-02 12:19:06 +02:00
pat.rs Add pattern types to parser 2024-04-08 11:57:17 +00:00
path.rs docs(std): add error docs for path canonicalize 2025-09-07 11:17:59 -04:00
process.rs improve process::abort rendering in Miri backtraces 2025-09-02 12:19:06 +02:00
random.rs random: Provide a Distribution<T> trait 2025-07-11 10:21:34 -07:00
rt.rs deduplicate abort implementations 2025-05-15 11:20:13 +02:00
test_helpers.rs std: get rid of sys_common::io 2025-02-07 16:54:07 +01:00
time.rs Revert "Constify SystemTime methods" 2025-09-12 17:16:38 +02:00