about summary refs log tree commit diff
path: root/library/alloc/src/ffi
AgeCommit message (Expand)AuthorLines
2025-08-06replace version placeholderBoxy-8/+8
2025-06-24Rollup merge of #137268 - bjoernager:c-string-eq-c-str, r=AmanieuGuillaume Gomez-0/+109
2025-06-12Delegate `<CStr as Debug>` to `ByteStr`Tamir Duberstein-0/+2
2025-05-12update version placeholdersPietro Albini-1/+1
2025-04-27Rollup merge of #137714 - DiuDiu777:doc-fix, r=tgross35Matthias Krüger-3/+8
2025-04-27Rollup merge of #137439 - clarfonthey:c-str-module, r=tgross35Matthias Krüger-1/+3
2025-04-27fix missing doc in CString::from_raw and str::from_boxed_utf8_uncheckedLemonJ-3/+8
2025-04-21Rollup merge of #140118 - tamird:cstr-cleanup, r=joboetChris Denton-3/+3
2025-04-18Invert `<CString as Deref>::deref` and `CString::as_c_str`Tamir Duberstein-3/+3
2025-04-16fix incorrect type in cstr `to_string_lossy()` docsLyndon Brown-1/+1
2025-03-07Fully test the alloc crate through alloctestsbjorn3-11/+5
2025-02-22Somehow these stability attributes were able to be omitted before?ltdk-0/+2
2025-02-22Stabilise c_str_moduleltdk-1/+1
2025-02-20Implement 'PartialEq<{&Self, CString, Cow<Self>}>' for 'CStr'; Implement 'Par...Gabriel Bjørnager Jensen-0/+109
2025-02-09Mark extern blocks as unsafeMichael Goulet-1/+1
2025-01-26Optimize `Rc::<str>::default()` implementationRené Kijewski-2/+3
2024-12-28docs: inline `alloc::ffi::c_str` types to `alloc::ffi`Lukas Markeffsky-1/+1
2024-12-04Move some alloc tests to the alloctests cratebjorn3-229/+0
2024-12-02Use c"lit" for CStrings without unwrapKornel-18/+16
2024-11-27replace placeholder versionBoxy-3/+3
2024-10-29Implement `From<&mut {slice}>` for `Box/Rc/Arc<{slice}>`Eduardo Sánchez Muñoz-0/+31
2024-10-15Rollup merge of #130608 - YohDeadfall:cstr-from-into-str, r=workingjubileeMatthias Krüger-1/+25
2024-10-01Implemented FromStr for CString and TryFrom<CString> for StringYoh Deadfall-1/+25
2024-09-27Mark some more types as having insignificant dtorMichael Goulet-0/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-09-19[Clippy] Swap `option_as_ref_deref` to use diagnostic items instead of pathsGnomedDev-0/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-18/+13
2024-06-11replace version placeholderPietro Albini-1/+1
2024-05-12Use shared statics for the ArcInner for Arc<str, CStr>::default, and for Arc<...Zachary S-13/+0
2024-05-12Add note about possible allocation-sharing to Arc/Rc<str/[T]/CStr>::default.Zachary S-0/+4
2024-05-12added Default implsBilly Sheppard-0/+22
2024-05-01Describe and use CStr literals in CStr and CString docsGeorge Bateman-9/+5
2024-03-25lib: fix some unnecessary_cast clippy lintklensy-1/+1
2024-03-10Rollup merge of #112136 - clarfonthey:ffi-c_str, r=cuviperMatthias Krüger-3/+9
2024-02-22Use generic `NonZero` everywhere in `alloc`.Markus Reiter-9/+9
2024-02-22Add std::ffi::c_str modulesltdk-3/+9
2024-01-28Document From<&CStr> for CStringRyan Lowe-0/+2
2023-12-14Update c_str.rsDaniel Huang-3/+3
2023-12-10remove redundant importssurechen-2/+0
2023-07-02fixed documentation of from<CString> for Rc<CStr>: Arc -> RcDaniyar Nurmukhamet-1/+1
2023-02-10Remove a couple of `#[doc(hidden)] pub fn` and their `#[feature]` gatesTobias Bucher-7/+1
2022-09-26remove cfg(bootstrap)Pietro Albini-3/+0
2022-08-22Move error trait into coreJane Losare-Lusby-0/+26
2022-08-21Make some docs nicer wrt pointer offsetsMaybe Waffle-3/+3
2022-07-15Stabilize `core::ffi::CStr`, `alloc::ffi::CString`, and friendsJosh Triplett-7/+7
2022-05-27Finish bumping stage0Mark Rousskov-81/+0
2022-04-14Fix targets not supporting `target_has_atomic = "ptr"`Vadim Petrochenkov-1/+5
2022-04-14library: Use type aliases to make `CStr(ing)` in libcore/liballoc unstableVadim Petrochenkov-6/+6
2022-04-14library: Move `CStr` to libcore, and `CString` to liballocVadim Petrochenkov-0/+1516