about summary refs log tree commit diff
path: root/library/std/src/ffi
AgeCommit message (Expand)AuthorLines
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
2021-12-04Add documentation to more `From::from` implementations.Kevin Reid-0/+23
2021-12-02Emphasise that an OsStr[ing] is not necessarily a platform stringChris Denton-10/+13
2021-10-31Rollup merge of #90430 - jkugelman:must-use-std-a-through-n, r=joshtriplettMatthias Krüger-0/+5
2021-10-31Rollup merge of #89786 - jkugelman:must-use-len-and-is_empty, r=joshtriplettMatthias Krüger-0/+2
2021-10-31Rollup merge of #89835 - jkugelman:must-use-expensive-computations, r=joshtri...Matthias Krüger-0/+1
2021-10-30Add #[must_use] to remaining std functions (A-N)John Kugelman-0/+5
2021-10-30Add #[must_use] to len and is_emptyJohn Kugelman-0/+2
2021-10-27Add tracking issue number to const_cstr_uncheckedKonrad Borowski-1/+1
2021-10-22Auto merge of #90007 - xfix:inline-cstr-from-str, r=kennytmbors-0/+1
2021-10-20fix 'since' version numberNathan Stocks-1/+1
2021-10-20stabilize CString::from_vec_with_nul[_unchecked]Nathan Stocks-13/+9
2021-10-18Inline CStr::from_ptrKonrad Borowski-0/+1
2021-10-13Rollup merge of #89794 - jkugelman:must-use-to_value-conversions, r=joshtriplettYuki Okushi-0/+12
2021-10-12Add #[must_use] to expensive computationsJohn Kugelman-0/+1
2021-10-12Rollup merge of #89778 - jkugelman:must-use-as_type-conversions, r=joshtriplettthe8472-0/+6
2021-10-11Add #[must_use] to to_value conversionsJohn Kugelman-0/+12
2021-10-11Add #[must_use] to as_type conversionsJohn Kugelman-0/+6
2021-10-11Rollup merge of #89753 - jkugelman:must-use-from_value-conversions, r=joshtri...Guillaume Gomez-0/+5
2021-10-11Rollup merge of #89729 - jkugelman:must-use-core-std-constructors, r=joshtrip...Guillaume Gomez-0/+2
2021-10-10Add #[must_use] to conversions that move selfJohn Kugelman-1/+8
2021-10-10Add #[must_use] to from_value conversionsJohn Kugelman-0/+5
2021-10-10Add #[must_use] to core and std constructorsJohn Kugelman-0/+2
2021-10-09Add #[must_use] to string/char transformation methodsJohn Kugelman-0/+2
2021-09-28Clarify that `CString::from_vec_unchecked` appends 0 byte.et342-0/+2
2021-09-25Rollup merge of #89216 - r00ster91:bigo, r=dtolnayManish Goregaokar-2/+2
2021-09-25Auto merge of #88343 - steffahn:fix_code_spacing, r=jyn514bors-78/+70
2021-09-25Apply 16 commits (squashed)Frank Steffahn-78/+70
2021-09-24consistent big O notationr00ster91-2/+2
2021-09-15docs(std): add docs for cof_from_cstr implsMichael Howell-0/+3