about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-09-29 17:58:08 +0000
committerbors <bors@rust-lang.org>2021-09-29 17:58:08 +0000
commit11491938f80988c7261a1179cf71a25c379c8783 (patch)
treea9d9fa6a784d7eb409400b627ff6ac1aee6722c5 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parent50f9f7810c975234ce4730488d32661a76a00428 (diff)
parent37608c7c501b12b634834363827e314f6750946f (diff)
downloadrust-11491938f80988c7261a1179cf71a25c379c8783.tar.gz
rust-11491938f80988c7261a1179cf71a25c379c8783.zip
Auto merge of #89011 - bjorn3:restructure_rt, r=dtolnay
Restructure std::rt

These changes should reduce binary size slightly while at the same slightly improving performance of startup, thread spawning and `std::thread::current()`. I haven't verified if the compiler is able to optimize some of these cases already, but at least for some others the compiler is unable to do these optimizations as they slightly change behavior in cases where program startup would crash anyway by omitting a backtrace and panic location.

I can remove 6f6bb16 if preferred.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions