about summary refs log tree commit diff
path: root/library/std/src/ffi/os_str/tests.rs
AgeCommit message (Collapse)AuthorLines
2025-01-11Add inherent versions of MaybeUninit methods for slicesltdk-1/+1
2024-11-12Make `CloneToUninit` dyn-compatibleZachary S-2/+2
2024-07-29impl CloneToUninit for Path and OsStrPavel Grigorenko-0/+17
2024-06-06fixed memory leaks in PathBuf::leak & OsString::leak testsschvv31n-0/+2
2024-06-04impl OsString::leak & PathBuf::leakschvv31n-0/+7
2024-01-21Move `OsStr::slice_encoded_bytes` validation to platform modulesJan Verbeek-7/+61
On Windows and UEFI this improves performance and error messaging. On other platforms we optimize the fast path a bit more. This also prepares for later relaxing the checks on certain platforms.
2023-12-10remove redundant importssurechen-4/+0
detects redundant imports that can be eliminated. for #117772 : In order to facilitate review and modification, split the checking code and removing redundant imports code into two PR.
2023-12-02Add substring API for `OsStr`Jan Verbeek-0/+50
2022-05-09Implement [OsStr]::joinest31-0/+14
Second attempt at implementing [OsStr]::join.
2022-05-08Revert "Implement [OsStr]::join", which was merged without FCPThom Chiovoloni-14/+0
This reverts commit 4fcbc53820ab423bbeb41f07822369aa05da1d68.
2022-05-05Implement [OsStr]::joinest31-0/+14
2020-08-31std: move "mod tests/benches" to separate filesLzu Tao-0/+165
Also doing fmt inplace as requested.