about summary refs log tree commit diff
path: root/library/std/src/ffi
AgeCommit message (Expand)AuthorLines
2025-01-21fix OsString::from_encoded_bytes_unchecked descriptionMarijn Schouten-2/+2
2025-01-11Add inherent versions of MaybeUninit methods for slicesltdk-1/+1
2025-01-06chore: remove redundant words in commentcrystalstall-1/+1
2024-12-26docs: inline `std::ffi::c_str` types to `std::ffi`Michael Howell-5/+5
2024-11-27replace placeholder versionBoxy-3/+3
2024-11-20implement OsString::truncatebinarycat-4/+8
2024-11-12Make `CloneToUninit` dyn-compatibleZachary S-6/+6
2024-10-29Implement `From<&mut {slice}>` for `Box/Rc/Arc<{slice}>`Eduardo Sánchez Muñoz-0/+27
2024-09-25Use `&raw` in the standard libraryJosh Stone-2/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-5/+5
2024-09-19[Clippy] Swap `redundant_clone` to use diagnostic items instead of pathsGnomedDev-0/+1
2024-09-19[Clippy] Swap `option_as_ref_deref` to use diagnostic items instead of pathsGnomedDev-0/+1
2024-09-05fix: correct {Path,OsStr}::to_string_lossy() docsRyosuke Takahashi-1/+1
2024-07-29Sparkle some attributes over `CloneToUninit` stuffPavel Grigorenko-0/+1
2024-07-29impl CloneToUninit for Path and OsStrPavel Grigorenko-0/+29
2024-07-29Reformat `use` declarations.Nicholas Nethercote-47/+31
2024-07-22Fix some `#[cfg_attr(not(doc), repr(..))]`Pavel Grigorenko-4/+2
2024-07-14std: Unsafe-wrap OSStr{,ing}::from_encoded_bytes_uncheckedJubilee Young-3/+2
2024-07-14std: deny(unsafe_op_in_unsafe_fn) but allow sitesJubilee Young-0/+1
2024-06-25`PathBuf::as_mut_vec` removed and verified for UEFI and Windows platforms #12...ash-5/+10
2024-06-25inner truncate methods for UEFI platformsash-0/+5
2024-06-06fixed memory leaks in PathBuf::leak & OsString::leak testsschvv31n-0/+2
2024-06-04impl OsString::leak & PathBuf::leakschvv31n-0/+26
2024-04-26PathBuf: replace transmuting by accessor functionsRalf Jung-0/+6
2024-04-17Rollup merge of #122201 - coolreader18:doc-clone_from, r=dtolnayMatthias Krüger-0/+4
2024-03-10Rollup merge of #112136 - clarfonthey:ffi-c_str, r=cuviperMatthias Krüger-6/+45
2024-03-08Document overrides of `clone_from()`Noa-0/+4
2024-03-07Rust is a proper name: rust → RustRalf Jung-4/+4
2024-02-28Rollup merge of #120051 - riverbl:os-str-display, r=m-ou-seGuillaume Gomez-4/+67
2024-02-22Add `rustc_confusables` annotations to some stdlib APIsEsteban Küber-0/+1
2024-02-22Add std::ffi::c_str modulesltdk-6/+45
2024-01-21Move `OsStr::slice_encoded_bytes` validation to platform modulesJan Verbeek-42/+76
2024-01-18Add `display` method to `OsStr`riverbl-4/+67
2023-12-10remove redundant importssurechen-4/+0
2023-12-02Add substring API for `OsStr`Jan Verbeek-2/+130
2023-10-03Bump version placeholdersMark Rousskov-4/+4
2023-09-01fix(std): Rename os_str_bytes to encoded_bytesEd Page-30/+30
2023-09-01feat(std): Stabilize 'os_str_bytes' featureEd Page-8/+4
2023-08-22Replace version placeholders with 1.73.0Mark Rousskov-1/+1
2023-08-14actually this doesn't even affect doctests. nice.Ralf Jung-6/+3
2023-08-14std: add some missing repr(transparent)Ralf Jung-0/+3
2023-07-31Rollup merge of #113701 - aswild:std-ffi-frombytesuntilnul, r=dtolnayMatthias Krüger-0/+2
2023-07-22Rollup merge of #113442 - epage:osstring, r=cuviperMatthias Krüger-0/+65
2023-07-14Re-export core::ffi::FromBytesUntilNulError in std::ffiAllen Wild-0/+2
2023-07-12Replace version placeholder to 1.72Mark Rousskov-1/+1
2023-07-07Allow limited access to `OsString` bytesEd Page-0/+65
2023-06-14Rollup merge of #98202 - aticu:impl_tryfrom_osstr_for_str, r=AmanieuMatthias Krüger-1/+19
2023-06-12Implement `TryFrom<&OsStr>` for `&str`aticu-1/+19
2023-05-19docs: Add missing periodEd Page-1/+1
2023-05-17docs: Clarify OsStr is self-synchronizingEd Page-7/+15