Re: IS_BUILTIN vs USE_BUILTIN
David Holland <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.packages |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Aug 15, 2026 at 10:45:35PM +0000, David Holland 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. Would there be any appetite for some sort of print-builtin-info target that causes all the builtin logic to report what it's doing? I remember ages back I added permanent debug code for the deps-driven USE_BUILTIN=yes logic because it kept being needed... -- David A. Holland [email protected]