about summary refs log tree commit diff
path: root/library/core/src/ffi
AgeCommit message (Expand)AuthorLines
2024-11-20Rollup merge of #132732 - gavincrawford:as_ptr_attribute, r=UrgauJacob Pratt-0/+1
2024-11-11Tag relevant functions with #[rustc_as_ptr] attributegavincrawford-0/+1
2024-11-05add const_eval_select macro to reduce redundancyRalf Jung-51/+48
2024-11-03Rename the FIXMEs, remove a few that dont matter anymoreMichael Goulet-1/+1
2024-10-28New lint: `dangling_pointers_from_temporaries`Pavel Grigorenko-1/+3
2024-10-25Re-do recursive const stability checksRalf Jung-3/+3
2024-09-25Use `&raw` in the standard libraryJosh Stone-2/+2
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-09-03Port std library to RTEMSJan Sommer-1/+1
2024-08-06Add a special case for CStr/CString in the improper_ctypes lintFlying-Toast-0/+1
2024-07-30Auto merge of #128083 - Mark-Simulacrum:bump-bootstrap, r=albertlarsan68bors-3/+3
2024-07-29Reformat `use` declarations.Nicholas Nethercote-16/+7
2024-07-28Update CURRENT_RUSTC_VERSIONMark Rousskov-3/+3
2024-07-26Fix doc nitsJohn Arundel-2/+2
2024-07-25CStr: derive PartialEq, Eq; add test for OrdPavel Grigorenko-11/+4
2024-07-22Fix some `#[cfg_attr(not(doc), repr(..))]`Pavel Grigorenko-4/+4
2024-07-16Rollup merge of #127444 - Sky9x:cstr-bytes-iter, r=dtolnayTrevor Gross-2/+15
2024-07-15`impl Send + Sync` and override `count` for the `CStr::bytes` iteratorSky-2/+15
2024-07-12Rename the internal `const_strlen` to just `strlen`Trevor Gross-2/+2
2024-07-12Rollup merge of #127433 - dtolnay:conststrlen, r=workingjubileeMatthias Krüger-4/+5
2024-07-11Add instability attribute on private const_strlen functionDavid Tolnay-0/+1
2024-07-06Stabilize const_cstr_from_ptr (CStr::from_ptr, CStr::count_bytes)David Tolnay-4/+4
2024-07-04core: erase redundant stability attrs in va_listJubilee Young-106/+0
2024-07-04library: outline VaList into ffi::va_listJubilee Young-400/+421
2024-06-24core: VaArgSafe is an unsafe traitJubilee Young-4/+5
2024-06-21update intrinsic const param countingDeadbeef-1/+2
2024-06-21Remove `feature(effects)` from the standard libraryDeadbeef-1/+3
2024-05-20Fix c_char on AIXTaiki Endo-1/+2
2024-05-03Rollup merge of #124593 - GKFX:cstr-literals-in-api-docs, r=workingjubileeMatthias Krüger-13/+24
2024-05-02Update based on reviewGeorge Bateman-7/+7
2024-05-01Replace version placeholders for 1.79Mark Rousskov-1/+1
2024-05-01Describe and use CStr literals in CStr and CString docsGeorge Bateman-12/+23
2024-04-28Fix va_list on watchOS and visionOSMads Marquart-16/+7
2024-04-14Move msvc libs to coreChris Denton-0/+10
2024-04-08Stabilize `cstr_count_bytes`Trevor Gross-3/+1
2024-03-20step cfgsMark Rousskov-12/+2
2024-03-12Reduce unsafe code, use more NonNull APIs per @cuviper reviewltdk-9/+11
2024-03-10Add CStr::bytes iteratorltdk-0/+89
2024-03-10Rollup merge of #112136 - clarfonthey:ffi-c_str, r=cuviperMatthias Krüger-7/+24
2024-03-02const_eval_select: make it safe but be careful with what we expose on stable ...Ralf Jung-2/+8
2024-02-24library: use `addr_of!`Pavel Grigorenko-1/+2
2024-02-22Add std::ffi::c_str modulesltdk-7/+24
2024-02-11Rollup merge of #119449 - Nilstrieb:library-clippy, r=cuviperMatthias Krüger-0/+1
2024-01-29Remove `raw_os_nonzero` feature.Markus Reiter-50/+14
2024-01-21Fix `clippy::correctness` in the libraryNilstrieb-0/+1
2023-12-14Update c_str.rsDaniel Huang-2/+2
2023-10-28Remove asmjs from libraryJubilee Young-6/+0
2023-10-23Fix invalid stability attribute features in standard libraryDavid Tolnay-1/+1
2023-10-08Bump to latest betaMark Rousskov-1/+1
2023-09-20Auto merge of #114443 - tgross35:cstr-len, r=dtolnaybors-34/+72