about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-08-30 22:51:12 +0000
committerbors <bors@rust-lang.org>2023-08-30 22:51:12 +0000
commitb1b244da6527cf2ba36e88d02275f4c64a0c90d8 (patch)
tree4cc0471ada93875f8c4b2ae76379b98ca1b9419e /compiler/rustc_interface/src
parent59a8294849358a878a72358aa6d5fe5b9d312867 (diff)
parentfe3cd2d1941a726a0e49b2553de3d4c73a7b4a6d (diff)
downloadrust-b1b244da6527cf2ba36e88d02275f4c64a0c90d8.tar.gz
rust-b1b244da6527cf2ba36e88d02275f4c64a0c90d8.zip
Auto merge of #115194 - tmiasko:inline-always-encode-mir, r=compiler-errors
Fix inlining with -Zalways-encode-mir

Only inline functions that are considered eligible for inlining
by the reachability pass.

This constraint was previously indirectly enforced by only exporting MIR
of eligible functions, but that approach doesn't work with
-Zalways-encode-mir enabled.
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions