worried-painter-31382
04/19/2026, 11:58 AMfind_ancestor_files (a very python hot rule in my work repo) portable without (what I hope) impact on readability.
Design choices are: implicitly-discovery being included in the proc-macro to mirror python. Not as powerful as the python ast parser, but maybe good enough for native rules?
https://github.com/pantsbuild/pants/blob/5ed90d488a23da2423ab55d7984e72e79b0f0ecb/src/rust/engine/src/native_rules_builtins.rs#L109
This work depends on my currently open PR:s.worried-painter-31382
04/19/2026, 12:02 PMworried-painter-31382
04/19/2026, 12:06 PMworried-painter-31382
04/19/2026, 12:09 PMhappy-kitchen-89482
04/20/2026, 4:20 AMhappy-kitchen-89482
04/20/2026, 4:23 AMcurved-manchester-66006
04/20/2026, 2:55 PMworried-painter-31382
04/20/2026, 3:16 PMhappy-kitchen-89482
05/18/2026, 1:46 PMcurved-manchester-66006
05/29/2026, 8:31 PMworried-painter-31382
05/30/2026, 10:06 AM