Files
rust/library/core/src
bors 1bb3a9f67a Auto merge of #121309 - Nilstrieb:inline-all-the-fallbacks, r=oli-obk
Make intrinsic fallback bodies cross-crate inlineable

This change was prompted by the stage1 compiler spending 4% of its time when compiling the polymorphic-recursion MIR opt test in `unlikely`.

Intrinsic fallback bodies like `unlikely` should always be inlined, it's very silly if they are not. To do this, we enable the fallback bodies to be cross-crate inlineable. Not that this matters for our workloads since the compiler never actually _uses_ the "fallback bodies", it just uses whatever was cfg(bootstrap)ped, so I've also added `#[inline]` to those.

See the comments for more information.

r? oli-obk
2024-02-22 12:07:08 +00:00
..
2024-02-13 12:04:44 +01:00
2023-10-13 14:54:33 +02:00
2024-02-15 08:09:42 +01:00
2024-02-15 08:09:42 +01:00
2023-12-12 07:03:37 +00:00
2023-12-22 11:01:42 +01:00
2024-02-15 08:09:42 +01:00
2022-05-22 07:18:32 -03:00
2023-04-16 07:20:26 +00:00
2023-07-28 14:46:17 +02:00
2023-12-10 10:56:22 +08:00
2024-02-13 12:04:44 +01:00
2023-09-06 09:47:22 -07:00
2024-01-20 18:27:55 +00:00
2024-02-15 08:09:42 +01:00
2024-02-08 07:44:34 -05:00
2024-01-16 14:58:42 -05:00
2024-02-09 09:53:30 -06:00