Skip to content

Commit

Permalink
Auto merge of #113923 - DianQK:restore-no-builtins-lto, r=pnkfelix
Browse files Browse the repository at this point in the history
Restore `#![no_builtins]` crates participation in LTO.

After #113716, we can make `#![no_builtins]` crates participate in LTO again.

`#![no_builtins]` with LTO does not result in undefined references to the error. I believe this type of issue won't happen again.

Fixes #72140.  Fixes #112245. Fixes #110606.  Fixes #105734. Fixes #96486. Fixes #108853. Fixes #108893. Fixes #78744. Fixes #91158. Fixes rust-lang/cargo#10118. Fixes rust-lang/compiler-builtins#347.

 The `nightly-2023-07-20` version does not always reproduce problems due to changes in compiler-builtins, core, and user code. That's why this issue recurs and disappears.
Some issues were not tested due to the difficulty of reproducing them.

r? pnkfelix

cc `@bjorn3` `@japaric` `@alexcrichton` `@Amanieu`
  • Loading branch information
bors committed Dec 1, 2023
2 parents 70789ea + ce39358 commit 505fe7c
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 505fe7c

Please sign in to comment.