cool-easter-32542
04/05/2023, 7:11 PMadhoc_tool to execute the rust toolchain rather than executing it directly.
A POC exists at: https://github.com/pantsbuild/pants/compare/main...chrisjrn:pants:chrisjrn/rusty-pants?expand=1
A few issues to reckon with:
1. Chicken-and-egg: how do we execute Pants the first time, when there's no native engine to be had.
2. Handling API changes during development: if the Python API for the native engine changes, the Python code will likely stop working until the rust is built.
We may wish to rely on only published versions of pants for building the rust code, however, this would involve maintaining a separate pants.toml in the meantime. Maybe that's OK?
pantsbuild/pants