about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.rs
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2023-08-27 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2023-08-27 23:52:27 +0200
commitfe3cd2d1941a726a0e49b2553de3d4c73a7b4a6d (patch)
treec6d948c85089a9509dd77cd372658adf48e0eafd /compiler/rustc_mir_transform/src/coverage/debug.rs
parent8550f15e148407159af401e02b1d9259762b3496 (diff)
downloadrust-fe3cd2d1941a726a0e49b2553de3d4c73a7b4a6d.tar.gz
rust-fe3cd2d1941a726a0e49b2553de3d4c73a7b4a6d.zip
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_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions