about summary refs log tree commit diff
path: root/src/libstd/ffi
AgeCommit message (Expand)AuthorLines
2020-07-27mv std libs to library/mark-3333/+0
2020-07-18Update stability attribute for CStr indexingDavid Tolnay-1/+1
2020-07-18impl Index<RangeFrom<usize>> for CStr1011X-0/+38
2020-06-15Rollup merge of #73139 - poliorcetics:cstring-from-vec-with-nul, r=dtolnayRalf Jung-6/+183
2020-06-14Update to use the new error type and correctly compile the doc testsAlexis Bourget-16/+21
2020-06-14Add a new error type for the new methodAlexis Bourget-0/+98
2020-06-14Removing the TryFrom implAlexis Bourget-14/+0
2020-06-11Fix the link in the TryFrom implAlexis Bourget-1/+1
2020-06-11Add a TryFrom<Vec<u8>> impl that mirror from_vec_with_nulAlexis Bourget-0/+14
2020-06-09Move to unstable, linking the issueAlexis Bourget-2/+2
2020-06-08Add methods to go from a nul-terminated Vec<u8> to a CString, checked and unc...Alexis Bourget-3/+77
2020-06-03Added a warning to CString::into_raw tooAlexis Bourget-0/+5
2020-06-03Added the documentation about length to CString::from_rawAlexis Bourget-0/+6
2020-05-19Auto merge of #71447 - cuviper:unsized_cow, r=dtolnaybors-0/+22
2020-04-29Implement FromStr for OsStringMike Hommey-0/+10
2020-04-22impl From<Cow> for boxed slices and stringsJosh Stone-0/+22
2020-04-15big-O notation: parenthesis, multiplication and backticksRalf Jung-2/+2
2020-04-06Forward OsStr::clone_into to the inner VecJosh Stone-2/+1
2020-04-06Implement ToOwned::clone_into for CStrJosh Stone-0/+17
2020-03-28add tracking issueTyPR124-6/+6
2020-03-28move doc links for consistencyTyPR124-4/+4
2020-03-28remove unnecessary commentsTyPR124-2/+0
2020-03-28ascii methods on osstrTyPR124-0/+143
2020-03-20add comment about maintaining OsStr encodingTyPR124-0/+2
2020-03-16add comments about safetyTyPR124-0/+4
2020-03-16allowing getting &mut OsStr from OsStringTyPR124-0/+21
2020-02-15Rollup merge of #64069 - danielhenrymantilla:feature/cstring_from_vec_of_nonz...Dylan DPC-0/+27
2020-02-04Added From<Vec<NonZeroU8>> for CStringDaniel Henry-Mantilla-0/+27
2020-01-10inline `impl AsRef<OsStr> for OsString`Lzu Tao-0/+1
2020-01-10Inline to make OsStr::is_empty zero costLzu Tao-0/+1
2020-01-07Remove insignificant notes from CStr documentationDavid Tolnay-10/+0
2019-12-24Deprecate Error::description for realDavid Tolnay-0/+5
2019-12-22Format the worldMark Rousskov-54/+77
2019-12-21Require issue = "none" over issue = "0" in unstable attributesRoss MacArthur-1/+1
2019-12-18Propagate cfg bootstrapMark Rousskov-3/+2
2019-12-13Require stable/unstable annotations for the constness of all stable functions...Oliver Scherer-1/+3
2019-12-09inline some common methods on OsStrLzu Tao-0/+8
2019-11-29Format libstd with rustfmtDavid Tolnay-8/+10
2019-10-29doc: use new feature gate for c_void typeLzu Tao-1/+1
2019-10-18Avoid realloc in `CString::new`Shotaro Yamada-1/+25
2019-10-13Implement Error::source on IntoStringErrorLinus Färnstrand-1/+1
2019-09-14Rollup merge of #64203 - alexreg:rush-pr-2, r=centrilMazdak Farrokhzad-1/+1
2019-09-09Update added backticks around a function callhman523-1/+1
2019-09-09Fixed documentation within c_str::from_ptrhman523-2/+4
2019-09-06A few cosmetic improvements to code & comments in liballoc and libcoreAlexander Regueiro-1/+1
2019-08-22Fix for 7e13679.Tomasz Różański-2/+2
2019-08-22Change variables names to be more consistent.Tomasz Różański-16/+16
2019-08-22Fix punctuation.Tomasz Różański-1/+1
2019-08-22Remove redundant `mut`.Tomasz Różański-1/+1
2019-08-11Rollup merge of #61969 - MikailBag:master, r=CentrilMark Rousskov-0/+12