about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-02-24 12:28:19 +0000
committerbors <bors@rust-lang.org>2022-02-24 12:28:19 +0000
commit648d038c867a7650a68794940842aa6ab6df6962 (patch)
treef34d7f10fd2d84cb6c76785f16e22f67eba6345e /library/std/src/sys/unix/stack_overflow.rs
parente855e2d15c8fcb4d6b9ffddb5f408acf008cc96f (diff)
parent18c34e41a40f0d4ae531211364d81c47867d9067 (diff)
downloadrust-648d038c867a7650a68794940842aa6ab6df6962.tar.gz
rust-648d038c867a7650a68794940842aa6ab6df6962.zip
Auto merge of #94123 - bjorn3:cg_ssa_singleton_builder, r=tmiasko
Partially move cg_ssa towards using a single builder

Not all codegen backends can handle hopping between blocks well. For example Cranelift requires blocks to be terminated before switching to building a new block. Rust-gpu requires a `RefCell` to allow hopping between blocks and cg_gcc currently has a buggy implementation of hopping between blocks. This PR reduces the amount of cases where cg_ssa switches between blocks before they are finished and mostly fixes the block hopping in cg_gcc. (~~only `scalar_to_backend` doesn't handle it correctly yet in cg_gcc~~ fixed that one.)

`@antoyo` please review the cg_gcc changes.
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions