rust/src/libstd
Mazdak Farrokhzad 75edfe204b
Rollup merge of #62163 - cuviper:unix-uninit, r=RalfJung
Avoid mem::uninitialized() in std::sys::unix

For `libc` types that will be initialized in FFI calls, we can just use
`MaybeUninit` and then pass around raw pointers.

For `sun_path_offset()`, which really wants `offset_of`, all callers
have a real `sockaddr_un` available, so we can use that reference.

r? @RalfJung
2019-06-29 11:18:13 +02:00
..
collections Rollup merge of #60511 - taiki-e:libstd-intra-doc, r=Dylan-DPC 2019-05-20 23:02:59 +02:00
ffi Expose VaListImpl as the Rust equivalent of __va_list_tag and implement Clone for it. 2019-06-17 16:04:49 -07:00
io tweak wording 2019-06-25 22:59:00 +02:00
net Auto merge of #60145 - little-dude:ip2, r=alexcrichton 2019-06-01 03:46:13 +00:00
os std: Remove internal definitions of cfg_if! macro 2019-06-10 10:58:44 -07:00
prelude libstd => 2018 2019-02-28 04:06:15 +09:00
sync Deprecate ONCE_INIT 2019-06-12 21:32:51 -07:00
sys Use pointer::write_bytes for android sigemptyset 2019-06-26 16:27:54 -07:00
sys_common std: Remove internal definitions of cfg_if! macro 2019-06-10 10:58:44 -07:00
tests libstd => 2018 2019-02-28 04:06:15 +09:00
thread Auto merge of #60341 - mtak-:macos-tlv-workaround, r=alexcrichton 2019-06-20 02:36:49 +00:00
alloc.rs Fix intra-doc link resolution failure on re-exporting libstd 2019-05-04 23:48:57 +09:00
ascii.rs Remove licenses 2018-12-25 21:08:33 -07:00
build.rs Remove bitrig support from rust 2019-05-13 11:09:06 +02:00
Cargo.toml make sure we use cfg-if as a std dependency 2019-06-14 11:01:28 +02:00
env.rs Fix typo "spit_paths", add link 2019-05-23 19:38:23 -06:00
error.rs implement Error::source for Box<T: Error> 2019-06-17 11:24:09 +03:00
f32.rs Use stable wrappers 2019-06-08 09:36:46 +09:00
f64.rs Use stable wrappers 2019-06-08 09:36:46 +09:00
fs.rs Update libstd doctests to use dyn 2019-05-29 00:57:42 -04:00
future.rs Hide gen_future API from documentation 2019-06-04 19:22:30 +02:00
keyword_docs.rs Add all keywords to keyword docs 2019-05-16 14:46:33 -07:00
lib.rs Remove FnBox. 2019-06-22 06:59:27 +02:00
macros.rs Rollup merge of #61720 - alexcrichton:libstd-cfg-if-dep, r=sfackler 2019-06-13 14:51:56 +02:00
memchr.rs libstd => 2018 2019-02-28 04:06:15 +09:00
num.rs Reexport IntErrorKind in std 2019-04-23 00:15:43 +02:00
panic.rs Stabilize futures_api 2019-04-23 16:13:53 -07:00
panicking.rs Aggregation of drive-by cosmetic changes. 2019-06-05 21:09:26 +01:00
path.rs Revert "Add implementations of last in terms of next_back on a bunch of DoubleEndedIterators." 2019-05-22 14:09:34 -07:00
primitive_docs.rs Typo 2019-06-22 00:44:31 +02:00
process.rs Tidy: trailing whitespace 2019-06-05 09:58:39 +02:00
rt.rs libstd => 2018 2019-02-28 04:06:15 +09:00
time.rs libstd: deny(elided_lifetimes_in_paths) 2019-03-31 12:56:51 +02:00