tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: IS_BUILTIN vs USE_BUILTIN



On Fri, Aug 14, 2026 at 07:52:09AM -0400, Greg Troxel wrote:
 > My question is:
 > 
 >   Is IS_BUILTIN supposed to include "good enough" 

AIUI, generally not, although I'm pretty sure there are cases where
some minimal level of "good enough" is required for IS_BUILTIN to
register at all.

As wiz's reply indicated, there's a second implicit requirement here,
namely to avoid doing expensive checks more than once.

 >   and USE_BUILTIN
 >   supposed to include "PREFER machinery says use it"?

Yes.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index