Matthias Krüger fb6d10e13b
Rollup merge of #138832 - ChrisDenton:with_native_path, r=joboet
Start using `with_native_path` in `std::sys::fs`

Ideally, each platform should use their own native path type internally. This will, for example, allow passing a `CStr` directly to `std::fs::File::open` and therefore avoid the need for allocating a new null-terminated C string.

However, doing that for every function and platform all at once makes for a large PR that is way too prone to breaking. So this PR does some minimal refactoring which should help progress towards that goal. The changes are Unix-only and even then I avoided functions that require more changes so that this PR is just moving things around.

r? joboet
2025-03-29 21:08:12 +01:00
..
2025-03-18 16:46:56 +00:00
2025-03-08 16:22:37 -08:00
2025-03-11 09:46:34 -07:00
2025-02-25 09:08:22 +05:30
2025-03-13 20:09:07 +00:00
2025-03-28 13:22:09 +01:00
2025-03-10 21:23:32 +08:00