rust/library/std
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
..
benches Fix import in bench for wasm 2025-02-12 14:44:30 -08:00
src Rollup merge of #146549 - asomers:freebsd-readdir, r=Mark-Simulacrum 2025-09-15 22:09:50 +02:00
tests Rollup merge of #146433 - RalfJung:rwlock-miri, r=tgross35 2025-09-12 20:02:16 +10:00
build.rs Use feature(target_has_reliable_f16_f128) in library tests 2025-04-27 20:10:33 +00:00
Cargo.toml std: Update wasi crate dependency 2025-09-05 17:01:07 -07:00