aloof-angle-9161609/17/2019, 6:03 PM
macros, which you can just write out right next to your functions!!! if we were to incorporate some complex macro (like a proc macro) in pants, it might be e.g. in our
crate, in which we could do fancy things like maybe writing out a python (
) definition automatically from a rust enum to solve https://github.com/pantsbuild/pants/issues/7367 ? i'm not sure if macros are necessarily the right way to solve that, but it does seem like one way to solve that, especially if the macro usage is also limited to our build scripts (so we don't end up with the pants codebase scattered with hacky macros).