rust/compiler/rustc_abi/src
bors 52daa7d835 Auto merge of #137152 - saethlin:bss-const-allocs, r=wesleywiser
Add a .bss-like scheme for encoded const allocs

This check if all bytes are zero feel like it should be too slow, and instead we should have a flag that we track, but that seems hard. Let's see how this perfs first.

Also we can probably stash the "it's all zero actually" flag inside one of the other struct members that's already not using an entire byte. This optimization doesn't fire all that often, so it's possible that by sticking it in the varint length field, this PR actually makes rmeta size worse.
2025-03-13 16:41:22 +00:00
..
callconv compiler: split vector_align into cabi and llvmlike 2025-02-20 19:55:29 -08:00
extern_abi compiler: remove rustc_abi::lookup and AbiUnsupported 2025-02-11 20:18:01 -08:00
layout Move coroutine layout logic to rustc_abi 2025-03-08 16:16:23 +01:00
callconv.rs rename BackendRepr::Vector → SimdVector 2025-02-28 17:17:45 +01:00
extern_abi.rs compiler: add ExternAbi::is_rustic_abi 2025-03-04 18:21:36 -08:00
layout.rs Move coroutine layout logic to rustc_abi 2025-03-08 16:16:23 +01:00
lib.rs Auto merge of #137152 - saethlin:bss-const-allocs, r=wesleywiser 2025-03-13 16:41:22 +00:00
tests.rs coverage: Set up MC/DC bitmaps without additional unsafe code 2024-05-01 09:55:22 +10:00