about summary refs log tree commit diff
path: root/library/std/src/ffi
AgeCommit message (Expand)AuthorLines
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
2022-02-16Add debug asserts to validate NUL terminator in c stringsAlex Saveau-20/+29
2022-02-07Auto merge of #87869 - thomcc:skinny-io-error, r=yaahcbors-1/+1
2022-02-06rewrite from_bytes_with_nul to match code style in from_vec_with_nulInteon-7/+8
2022-02-04Hide Repr details from io::Error, and rework `io::Error::new_const`.Thom Chiovoloni-1/+1
2022-01-20Correct docs in `Arc` and `Rc`.Jakob Degen-4/+8
2022-01-19Rollup merge of #92124 - AngelicosPhosphoros:remove_extra_alloc_in_cstring_ne...Matthias Krüger-22/+45
2021-12-30Remove needless allocation from example code of OsStringDavid Tolnay-4/+4
2021-12-30Fix some copy/paste hysteresis in OsString try_reserve docsDavid Tolnay-4/+4
2021-12-29Address commentsXuanwo-6/+6
2021-12-29Update library/std/src/ffi/os_str.rsXuanwo-1/+1
2021-12-28Add try_reserve for OsStringXuanwo-0/+81
2021-12-27Little improves in CString `new` when creating from sliceAngelicosPhosphoros-22/+45
2021-12-13Stabilize const_cstr_uncheckedKonrad Borowski-1/+1