Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit dcde30d

Browse files
committed
Drop the statement limit
1 parent ffa51c9 commit dcde30d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_mir_transform/src/cross_crate_inline.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ fn cross_crate_inlinable(tcx: TyCtxt<'_>, def_id: LocalDefId) -> bool {
5757
&& checker.resumes == 0
5858
&& checker.landing_pads == 0
5959
&& checker.statements
60-
<= tcx.sess.opts.unstable_opts.cross_crate_inline_threshold.unwrap_or(100)
60+
<= tcx.sess.opts.unstable_opts.cross_crate_inline_threshold.unwrap_or(50)
6161
}
6262

6363
struct CostChecker<'b, 'tcx> {

0 commit comments

Comments
 (0)