1
Fork 0
rust/library/std/src/sys_common
Matthias Krüger f3ced9d540
Rollup merge of #126140 - eduardosm:stabilize-fs_try_exists, r=Amanieu
Rename `std::fs::try_exists` to  `std::fs::exists` and stabilize fs_try_exists

FCP completed in tracking issue.

Tracking issue: https://github.com/rust-lang/rust/issues/83186

Closes https://github.com/rust-lang/rust/issues/83186

Stabilized API:

```rust
mod fs {
    pub fn exists<P: AsRef<Path>>(path: P) -> io::Result<bool>;
}
```
2024-06-22 19:33:55 +02:00
..
net Match unmatched backticks in library/ 2023-03-03 03:03:29 +01:00
thread_local_key rename ptr::invalid -> ptr::without_provenance 2024-02-21 20:15:52 +01:00
wtf8 Move OsStr::slice_encoded_bytes validation to platform modules 2024-01-21 19:51:49 +01:00
fs.rs Rename std::fs::try_exists to std::fs::exists and stabilize fs_try_exists 2024-06-11 18:33:40 +02:00
io.rs Update rand in the stdlib tests, and remove the getrandom feature from it 2023-01-04 14:52:41 -08:00
lazy_box.rs Leak pthreax_mutex_t when it's dropped while locked. 2022-06-16 12:09:12 +02:00
mod.rs std: move sys_common::backtrace to sys 2024-06-16 13:14:01 +02:00
net.rs Use target_vendor = "apple" instead of target_os = "..." 2024-04-28 18:22:37 +02:00
process.rs also print clearing the environment entirely 2023-08-24 08:08:46 +02:00
tests.rs std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
thread_local_dtor.rs std: abort instead of panicking if the global allocator uses TLS 2023-10-04 11:49:48 +02:00
thread_local_key.rs sys_common::thread_local_key: make a note that this is not used on Windows 2024-04-07 12:23:47 +02:00
wstr.rs Replace NonZero::<_>::new with NonZero::new. 2024-02-15 08:09:42 +01:00
wtf8.rs Make PathBuf less Ok with adding UTF-16 then into_string 2024-06-12 01:00:21 -07:00