about summary refs log tree commit diff
path: root/library/alloc/src/ffi
AgeCommit message (Expand)AuthorLines
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