rust/library
Ralf Jung fef3324043
Rollup merge of #76492 - fusion-engineering-forks:int-bits, r=dtolnay
Add associated constant `BITS` to all integer types

Recently I've regularly come across this snippet (in a few different crates, including `core` and `std`):
```rust
std::mem::size_of<usize>() * 8
```

I think it's time for a `usize::BITS`.
2020-09-19 11:47:45 +02:00
..
alloc Rollup merge of #76492 - fusion-engineering-forks:int-bits, r=dtolnay 2020-09-19 11:47:45 +02:00
backtrace@4083a90168 std: Switch from libbacktrace to gimli 2020-07-28 16:34:01 -07:00
core Rollup merge of #76492 - fusion-engineering-forks:int-bits, r=dtolnay 2020-09-19 11:47:45 +02:00
panic_abort Rollup merge of #75990 - rylev:arm-fastfail, r=alexcrichton 2020-08-30 01:43:54 +02:00
panic_unwind Use T::BITS instead of size_of::<T> * 8. 2020-09-19 06:54:42 +02:00
proc_macro Respect -Z proc-macro-backtrace flag for panics inside libproc_macro 2020-09-03 12:13:26 -04:00
profiler_builtins Fix warning whe building profiler_builtins crate 2020-09-04 15:10:29 +02:00
rtstartup
rustc-std-workspace-alloc
rustc-std-workspace-core
rustc-std-workspace-std
std Rollup merge of #73963 - hellow554:unsafe_path, r=Mark-Simulacrum 2020-09-19 11:47:31 +02:00
stdarch@718175b34a Update stdarch 2020-09-15 17:26:20 +02:00
term
test Prefer https link for wikipedia URLs 2020-08-23 10:02:42 +00:00
unwind Add back unwinding support for Sony PSP 2020-08-08 02:14:40 -04:00