summaryrefslogtreecommitdiff
path: root/library/std/src/ffi
Commit message (Expand)AuthorAgeFilesLines
* remove some unneeded importsKaDiWa2023-04-121-1/+0
* Guarantee `try_reserve` preserves the contents on errorYOSHIOKA Takuma2022-08-101-1/+2
* Rollup merge of #97915 - tbu-:pr_os_string_fmt_write, r=joshtriplettYuki Okushi2022-07-171-0/+8
|\
| * Update `since` version to 1.64Josh Triplett2022-07-161-1/+1
| * Implement `fmt::Write` for `OsString`Tobias Bucher2022-06-091-0/+8
* | Stabilize `core::ffi::CStr`, `alloc::ffi::CString`, and friendsJosh Triplett2022-07-151-18/+4
* | Rollup merge of #98315 - joshtriplett:stabilize-core-ffi-c, r=Mark-SimulacrumDylan DPC2022-07-141-0/+6
|\ \
| * | Stabilize `core::ffi:c_*` and rexport in `std::ffi`Josh Triplett2022-07-131-0/+6
* | | Fix documentation for with_capacity and reserve families of methodsjmaargh2022-06-191-10/+12
|/ /
* | Rollup merge of #95392 - Xuanwo:stablize_try_reserve_2, r=dtolnayDylan DPC2022-06-171-4/+2
|\ \
| * | std: Stabilize feature try_reserve_2Xuanwo2022-06-161-4/+2
| |/
* | Rollup merge of #97202 - joshtriplett:os-str-capacity-documentation, r=dtolnayYuki Okushi2022-06-161-2/+32
|\ \ | |/ |/|
| * Expand the explanation of OsString capacityJosh Triplett2022-05-211-3/+14
| * OsString: Consolidate all documentation about capacity in top-level docsJosh Triplett2022-05-191-28/+12
| * std: Add capacity guarantees notes for OsStringXuanwo2022-05-181-0/+35
* | Auto merge of #96881 - est31:join_osstr, r=dtolnaybors2022-05-312-0/+31
|\ \
| * | Implement [OsStr]::joinest312022-05-092-0/+31
* | | docs: Don't imply that OsStr on Unix is always UTF-8Xiretza2022-05-271-1/+1
| |/ |/|
* | Rollup merge of #96861 - m-ou-se:std-use-prelude-2021, r=joshtriplettYuki Okushi2022-05-111-1/+1
|\ \ | |/ |/|
| * Use Rust 2021 prelude in std itself.Mara Bos2022-05-091-1/+1
* | Revert "Implement [OsStr]::join", which was merged without FCPThom Chiovoloni2022-05-082-31/+0
|/
* Implement [OsStr]::joinest312022-05-052-0/+31
* Revert "Re-export core::ffi types from std::ffi"Josh Triplett2022-04-271-9/+0
* library: Use type aliases to make `CStr(ing)` in libcore/liballoc unstableVadim Petrochenkov2022-04-141-4/+14
* library: Move `CStr` to libcore, and `CString` to liballocVadim Petrochenkov2022-04-143-1925/+6
* add CStr::from_bytes_until_nulEric Seppanen2022-03-182-0/+106
* Use implicit capture syntax in format_argsT-O-R-U-S2022-03-102-3/+3
* Re-export core::ffi types from std::ffibstrie2022-03-021-0/+9
* Rollup merge of #93979 - SUPERCILEX:debug_check, r=dtolnayMatthias Krüger2022-02-192-20/+29
|\
| * Add debug asserts to validate NUL terminator in c stringsAlex Saveau2022-02-162-20/+29
* | Rollup merge of #89869 - kpreid:from-doc, r=yaahcMatthias Krüger2022-02-172-0/+23
|\ \ | |/ |/|
| * Add documentation to more `From::from` implementations.Kevin Reid2021-12-042-0/+23
* | Auto merge of #87869 - thomcc:skinny-io-error, r=yaahcbors2022-02-071-1/+1
|\ \
| * | Hide Repr details from io::Error, and rework `io::Error::new_const`.Thom Chiovoloni2022-02-041-1/+1
* | | rewrite from_bytes_with_nul to match code style in from_vec_with_nulInteon2022-02-061-7/+8
|/ /
* | Correct docs in `Arc` and `Rc`.Jakob Degen2022-01-202-4/+8
* | Rollup merge of #92124 - AngelicosPhosphoros:remove_extra_alloc_in_cstring_ne...Matthias Krüger2022-01-191-22/+45
|\ \
| * | Little improves in CString `new` when creating from sliceAngelicosPhosphoros2021-12-271-22/+45
* | | Remove needless allocation from example code of OsStringDavid Tolnay2021-12-301-4/+4
* | | Fix some copy/paste hysteresis in OsString try_reserve docsDavid Tolnay2021-12-301-4/+4
* | | Address commentsXuanwo2021-12-291-6/+6
* | | Update library/std/src/ffi/os_str.rsXuanwo2021-12-291-1/+1
* | | Add try_reserve for OsStringXuanwo2021-12-281-0/+81
|/ /
* | Stabilize const_cstr_uncheckedKonrad Borowski2021-12-131-1/+1
* | Emphasise that an OsStr[ing] is not necessarily a platform stringChris Denton2021-12-021-10/+13
|/
* Rollup merge of #90430 - jkugelman:must-use-std-a-through-n, r=joshtriplettMatthias Krüger2021-10-312-0/+5
|\
| * Add #[must_use] to remaining std functions (A-N)John Kugelman2021-10-302-0/+5
* | Rollup merge of #89786 - jkugelman:must-use-len-and-is_empty, r=joshtriplettMatthias Krüger2021-10-311-0/+2
|\ \
| * | Add #[must_use] to len and is_emptyJohn Kugelman2021-10-301-0/+2
* | | Rollup merge of #89835 - jkugelman:must-use-expensive-computations, r=joshtri...Matthias Krüger2021-10-311-0/+1
|\ \ \ | |_|/ |/| |