about summary refs log tree commit diff
path: root/library/core/src/ffi
AgeCommit message (Expand)AuthorLines
2023-09-16Auto merge of #114494 - est31:extend_useless_ptr_null_checks, r=jackh726bors-0/+1
2023-08-29Implement `CStr::count_bytes`Trevor Gross-0/+28
2023-08-29Refactor the const `strlen` implementation to `const_strlen`Trevor Gross-34/+44
2023-08-18Inline strlen_rt in CStr::from_ptrKonrad Borowski-1/+3
2023-08-16clarify CStr lack of layout guarnateesRalf Jung-4/+4
2023-08-15Rollup merge of #114800 - RalfJung:transparent, r=cuviperGuillaume Gomez-4/+4
2023-08-14actually this doesn't even affect doctests. nice.Ralf Jung-6/+3
2023-08-14add a csky-unknown-linux-gnuabiv2 targetDirreke-1/+2
2023-08-14std: add some missing repr(transparent)Ralf Jung-0/+3
2023-08-06Add #[rustc_never_returns_null_ptr] to std functionsest31-0/+1
2023-08-03Auto merge of #113220 - tgross35:cstr-bytes-docs, r=workingjubileebors-6/+7
2023-08-02Clarify documentation for `CStr`Trevor Gross-6/+7
2023-07-22Rollup merge of #113252 - tgross35:const-cstr-from-ptr-tracking-issue, r=Chri...Matthias Krüger-1/+1
2023-07-22Rollup merge of #112490 - Alexendoo:c-char-cfg-all, r=cuviperMatthias Krüger-5/+0
2023-07-12Replace version placeholder to 1.72Mark Rousskov-4/+4
2023-07-05Add support for NetBSD/riscv64 aka. riscv64gc-unknown-netbsd.Havard Eidnes-1/+6
2023-07-01Update the tracking issue for `const_cstr_from_ptr`Trevor Gross-1/+1
2023-06-30Rollup merge of #107624 - tgross35:const-cstr-methods, r=dtolnayMatthias Krüger-7/+10
2023-06-21Finish up preliminary tvos support in libstdThom Chiovoloni-7/+16
2023-06-16Remove `#[cfg(all())]` workarounds from `c_char`Alex Macleod-5/+0
2023-06-01Stabilize 'const_cstr_methods'Trevor Gross-7/+10
2023-05-30Bump to latest beta compilerMark Rousskov-2/+2
2023-05-30Swap out CURRENT_RUSTC_VERSION to 1.71.0Mark Rousskov-2/+2
2023-05-17Rollup merge of #111043 - jmillikin:cstr-is-empty, r=dtolnayDylan DPC-3/+2
2023-05-16Hide repr attribute from doc of types without guaranteed reprDavid Tolnay-7/+7
2023-05-05Rollup merge of #108801 - fee1-dead-contrib:c-str, r=compiler-errorsDylan DPC-1/+1
2023-05-03Rollup merge of #105452 - rcvalle:rust-cfi-3, r=bjorn3Manish Goregaokar-0/+1
2023-05-03Add cross-language LLVM CFI support to the Rust compilerRamon de C Valle-0/+1
2023-05-02rm diag item, use lang itemDeadbeef-1/+0
2023-05-02initial step towards implementing C string literalsDeadbeef-0/+1
2023-05-01Stabilize feature `cstr_is_empty`John Millikin-3/+2
2023-04-27Auto merge of #110562 - ComputerDruid:riscv, r=tmandrybors-1/+4
2023-04-25Add definitions for riscv64gc-unknown-fuchsiaDan Johnson-1/+4
2023-04-16fix tidyDeadbeef-0/+1
2023-04-16core is now compilableDeadbeef-6/+4
2023-04-16hack cstr is_emptyDeadbeef-1/+2
2023-04-12Make rust-intrinsic ABI unwindableGary Guo-0/+3
2023-03-28Add `#[inline]` to CStr trait implementationsclubby789-0/+5
2023-03-15Bump version placeholdersMark Rousskov-4/+4
2023-03-02Auto merge of #106673 - flba-eb:add_qnx_nto_stdlib, r=workingjubileebors-0/+1
2023-02-28Add QNX Neutrino support to libstdFlorian Bartels-0/+1
2023-02-16Document that CStr::as_ptr returns a type aliasKornel-0/+5
2023-02-10Remove a couple of `#[doc(hidden)] pub fn` and their `#[feature]` gatesTobias Bucher-4/+7
2023-02-01Change 'from_bytes_until_nul' to const stableTrevor Gross-1/+2
2023-02-01Stabilize feature 'cstr_from_bytes_until_nul'Trevor Gross-6/+4
2022-12-19Implement va_list and va_arg for s390x FFIUlrich Weigand-5/+50
2022-11-04Rollup merge of #103680 - RalfJung:cstr-links, r=JohnTitorMatthias Krüger-2/+5
2022-10-28Remove unneeded attribute.Markus Reiter-1/+0
2022-10-28CStr: add some doc linksRalf Jung-2/+5
2022-10-12Update docs for `CStr::from_ptr`.Markus Reiter-4/+13