rust/compiler/rustc_target/src
bors df20355fa9 Auto merge of #95456 - RalfJung:size, r=oli-obk
allow large Size again

This basically reverts most of https://github.com/rust-lang/rust/pull/80042, and instead does the panic in `bits()` with a `#[cold]` function to make sure it does not get inlined.

https://github.com/rust-lang/rust/pull/80042 added a comment about an invariant ("The top 3 bits are ALWAYS zero") that is not actually enforced, and if it were enforced that would be a problem for https://github.com/rust-lang/rust/pull/95388. So I think we should not have that invariant, and I adjusted the code accordingly.

r? `@oli-obk` Cc `@sivadeilra`
2022-03-31 10:33:56 +00:00
..
abi Auto merge of #95456 - RalfJung:size, r=oli-obk 2022-03-31 10:33:56 +00:00
asm Fold aarch64 feature +fp into +neon 2022-03-22 15:14:33 -07:00
spec a few mode feedback fixes per @bjorn3 2022-03-30 17:28:19 -04:00
lib.rs Clarify Layout interning. 2022-03-07 13:41:47 +11:00
tests.rs Emit warnings for unused fields in custom targets. 2021-06-17 21:48:02 +02:00