| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2024-04-26 | Rollup merge of #124410 - RalfJung:path-buf-transmute, r=Nilstrieb | Jacob Pratt | -0/+12 | |
| PathBuf: replace transmuting by accessor functions The existing `repr(transparent)` was anyway insufficient as `OsString` was not `repr(transparent)`. And furthermore, on Windows it was blatantly wrong as `OsString` wraps `Wtf8Buf` which is a `repr(Rust)` type with 2 fields: https://github.com/rust-lang/rust/blob/51a7396ad3d78d9326ee1537b9ff29ab3919556f/library/std/src/sys_common/wtf8.rs#L131-L146 So let's just be honest about what happens and add accessor methods that make this abstraction-breaking act of PathBuf visible on the APIs that it pierces through. Fixes https://github.com/rust-lang/rust/issues/124409 | ||||
| 2024-04-26 | PathBuf: replace transmuting by accessor functions | Ralf Jung | -0/+12 | |
| 2024-04-24 | Stabilize Utf8Chunks | David Tolnay | -4/+2 | |
| 2024-01-21 | Move `OsStr::slice_encoded_bytes` validation to platform modules | Jan Verbeek | -1/+49 | |
| 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. | ||||
| 2024-01-15 | std: move OS String implementation into `sys` | joboet | -0/+561 | |
