about summary refs log tree commit diff
path: root/library/std/src/ffi
AgeCommit message (Expand)AuthorLines
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
2023-05-16docs: Add examples of OsStr safety violationEd Page-4/+7
2023-05-13refactor: Remove redundant, private OsStr::bytesEd Page-18/+9
2023-03-27Allow access to `OsStr` bytesEd Page-1/+63
2023-04-12remove some unneeded importsKaDiWa-1/+0
2022-08-10Guarantee `try_reserve` preserves the contents on errorYOSHIOKA Takuma-1/+2
2022-07-17Rollup merge of #97915 - tbu-:pr_os_string_fmt_write, r=joshtriplettYuki Okushi-0/+8
2022-07-16Update `since` version to 1.64Josh Triplett-1/+1
2022-07-15Stabilize `core::ffi::CStr`, `alloc::ffi::CString`, and friendsJosh Triplett-18/+4
2022-07-14Rollup merge of #98315 - joshtriplett:stabilize-core-ffi-c, r=Mark-SimulacrumDylan DPC-0/+6
2022-07-13Stabilize `core::ffi:c_*` and rexport in `std::ffi`Josh Triplett-0/+6
2022-06-19Fix documentation for with_capacity and reserve families of methodsjmaargh-10/+12
2022-06-17Rollup merge of #95392 - Xuanwo:stablize_try_reserve_2, r=dtolnayDylan DPC-4/+2
2022-06-16std: Stabilize feature try_reserve_2Xuanwo-4/+2
2022-06-16Rollup merge of #97202 - joshtriplett:os-str-capacity-documentation, r=dtolnayYuki Okushi-2/+32
2022-06-09Implement `fmt::Write` for `OsString`Tobias Bucher-0/+8
2022-05-31Auto merge of #96881 - est31:join_osstr, r=dtolnaybors-0/+31
2022-05-27docs: Don't imply that OsStr on Unix is always UTF-8Xiretza-1/+1
2022-05-21Expand the explanation of OsString capacityJosh Triplett-3/+14
2022-05-19OsString: Consolidate all documentation about capacity in top-level docsJosh Triplett-28/+12
2022-05-18std: Add capacity guarantees notes for OsStringXuanwo-0/+35
2022-05-11Rollup merge of #96861 - m-ou-se:std-use-prelude-2021, r=joshtriplettYuki Okushi-1/+1
2022-05-09Implement [OsStr]::joinest31-0/+31
2022-05-09Use Rust 2021 prelude in std itself.Mara Bos-1/+1
2022-05-08Revert "Implement [OsStr]::join", which was merged without FCPThom Chiovoloni-31/+0
2022-05-05Implement [OsStr]::joinest31-0/+31
2022-04-27Revert "Re-export core::ffi types from std::ffi"Josh Triplett-9/+0
2022-04-14library: Use type aliases to make `CStr(ing)` in libcore/liballoc unstableVadim Petrochenkov-4/+14
2022-04-14library: Move `CStr` to libcore, and `CString` to liballocVadim Petrochenkov-1925/+6
2022-03-18add CStr::from_bytes_until_nulEric Seppanen-0/+106
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-3/+3
2022-03-02Re-export core::ffi types from std::ffibstrie-0/+9
2022-02-19Rollup merge of #93979 - SUPERCILEX:debug_check, r=dtolnayMatthias Krüger-20/+29
2022-02-17Rollup merge of #89869 - kpreid:from-doc, r=yaahcMatthias Krüger-0/+23