mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-13 23:58:34 +00:00

This patch avoids undefined behavior by linking different object files. Also this would it could be propagated properly to LTO. See https://reviews.llvm.org/D52322 and https://reviews.llvm.org/D52323. This patch is based on https://github.com/rust-lang/rust/pull/74002