"minsize", unlike other optimization levels, has a well defined expectation of how the inliner should behave. It shouldn't increase code size.
Therefore set the threshold to 0. This still allows the inliner to inline trivial functions that are smaller than the callsite cost, modulo a bug that I intend to fix in a followup where the cost calcualation doesn't take into account the removal of the call instruction at the callsite.