rust/src/libstd/sys_common
Mark Rousskov 88629778e6
Rollup merge of #61969 - MikailBag:master, r=Centril
Add #[repr(transparent)] for several types

In some functions, types mentioned in this PR are transmuted into their inner value.
Example for `PathBuf`: https://github.com/rust-lang/rust/blob/master/src/libstd/path.rs#L1132.
This PR adds `#[repr(transparent)]` to those types, so their correct behavior doesn't depend on compiler details. (As far as I understand, currently that line, converting `PathBuf` to `Vec<u8>`, is UB).
2019-08-11 15:18:38 -04:00
..
alloc.rs add support for hexagon-unknown-linux-musl 2019-07-22 09:44:58 -05:00
at_exit_imp.rs Eliminate FnBox usages from libstd. 2019-04-10 09:40:44 +08:00
backtrace.rs Aggregation of drive-by cosmetic changes. 2019-06-05 21:09:26 +01:00
bytestring.rs libstd: deny(elided_lifetimes_in_paths) 2019-03-31 12:56:51 +02:00
condvar.rs libstd => 2018 2019-02-28 04:06:15 +09:00
fs.rs wasi: Fill out std::fs module for WASI 2019-04-03 08:05:46 -07:00
io.rs Remove needless lifetimes 2019-07-01 12:15:27 +02:00
mod.rs redox: convert to target_family unix 2019-08-06 16:18:23 -06:00
mutex.rs libstd: deny(elided_lifetimes_in_paths) 2019-03-31 12:56:51 +02:00
net.rs Remove bitrig support from rust 2019-05-13 11:09:06 +02:00
os_str_bytes.rs Add FIXME-s that some types should be transparent 2019-08-09 17:41:40 +03:00
poison.rs libstd: deny(elided_lifetimes_in_paths) 2019-03-31 12:56:51 +02:00
process.rs libstd => 2018 2019-02-28 04:06:15 +09:00
remutex.rs libstd: deny(elided_lifetimes_in_paths) 2019-03-31 12:56:51 +02:00
rwlock.rs libstd => 2018 2019-02-28 04:06:15 +09:00
thread.rs Eliminate FnBox usages from libstd. 2019-04-10 09:40:44 +08:00
thread_info.rs libstd => 2018 2019-02-28 04:06:15 +09:00
thread_local.rs libstd => 2018 2019-02-28 04:06:15 +09:00
util.rs libstd: deny(elided_lifetimes_in_paths) 2019-03-31 12:56:51 +02:00
wtf8.rs Use "capacity" as parameter name in with_capacity() methods 2019-04-26 18:43:24 +02:00