about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/lib.rs
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2024-11-08 18:51:30 +1100
committerGitHub <noreply@github.com>2024-11-08 18:51:30 +1100
commit4b904ceb464040ebf85e569b33cca11df563f1cd (patch)
tree51a878e8edd0526792eb33cd5f46c0441b00f0d3 /compiler/rustc_codegen_llvm/src/lib.rs
parent3a48d801557a571c819ce62764ae2cc18605e5c8 (diff)
parent9827c6dc2c1b81ec4e30a630e297745341977288 (diff)
downloadrust-4b904ceb464040ebf85e569b33cca11df563f1cd.tar.gz
rust-4b904ceb464040ebf85e569b33cca11df563f1cd.zip
Rollup merge of #132738 - cuviper:channel-heap-init, r=ibraheemdev
Initialize channel `Block`s directly on the heap

The channel's `Block::new` was causing a stack overflow because it held
32 item slots, instantiated on the stack before moving to `Box::new`.
The 32x multiplier made modestly-large item sizes untenable.

That block is now initialized directly on the heap.

Fixes #102246

try-job: test-various
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/lib.rs')
0 files changed, 0 insertions, 0 deletions