rust/library/std/src
bors 7af93292c2 Auto merge of #95621 - saethlin:remove-mpsc-transmute, r=RalfJung
Remove ptr-int transmute in std::sync::mpsc

Since https://github.com/rust-lang/rust/pull/95340 landed, Miri with `-Zmiri-check-number-validity` produces an error on the test suites of some crates which implement concurrency tools<sup>*</sup>, because it seems like such crates tend to use `std::sync::mpsc` in their tests. This fixes the problem by storing pointer bytes in a pointer.

<sup>*</sup> I have so far seen errors in the test suites of `once_cell`, `parking_lot`, and `crossbeam-utils`.
(just updating the list for fun, idk)
Also `threadpool`, `async-lock`, `futures-timer`, `fragile`, `scoped_threadpool`, `procfs`, `slog-async`, `scheduled-thread-pool`, `tokio-threadpool`, `mac`, `futures-cpupool`, `ntest`, `actix`, `zbus`, `jsonrpc-client-transports`, `fail`, `libp2p-gossipsub`, `parity-send-wrapper`, `async-broadcast,` `libp2p-relay`, `http-client`, `mockito`, `simple-mutex`, `surf`, `pollster`, and `pulse`. Then I turned the bot off.
2022-04-10 08:57:32 +00:00
..
backtrace
collections
env
error
f32
f64
ffi
fs Use gender neutral terms 2022-04-07 08:51:59 +01:00
io Rollup merge of #95185 - m-ou-se:stabilize-stdin-lines, r=Mark-Simulacrum 2022-04-07 01:59:21 +02:00
lazy
net Adjust feature names that disagree on const stabilization version 2022-03-31 12:34:48 -07:00
num
os Rollup merge of #88025 - devnexen:netbsd_scm_creds, r=Amanieu 2022-04-05 22:58:54 +02:00
panic
path
prelude
process
sync Remove ptr-int transmute in std::sync::mpsc 2022-04-08 23:28:31 -04:00
sys Rollup merge of #95802 - RalfJung:unused-win, r=Dylan-DPC 2022-04-09 12:52:06 +02:00
sys_common Rename RWLock to RwLock in std::sys. 2022-04-06 16:33:53 +02:00
thread Use gender neutral terms 2022-04-07 08:51:59 +01:00
time
alloc.rs trivial cfg(bootstrap) changes 2022-04-05 23:18:40 +02:00
ascii.rs
backtrace.rs
env.rs
error.rs Add ThinBox type for 1 stack pointer sized heap allocated trait objects 2022-04-08 09:00:16 -07:00
f32.rs trivial cfg(bootstrap) changes 2022-04-05 23:18:40 +02:00
f64.rs trivial cfg(bootstrap) changes 2022-04-05 23:18:40 +02:00
fs.rs Document synchronicity 2022-04-05 08:14:13 +01:00
keyword_docs.rs
lazy.rs
lib.rs Add ThinBox type for 1 stack pointer sized heap allocated trait objects 2022-04-08 09:00:16 -07:00
macros.rs
num.rs
panic.rs
panicking.rs Rename RWLock to RwLock in std::sys. 2022-04-06 16:33:53 +02:00
path.rs
primitive_docs.rs
process.rs
rt.rs
time.rs