quaint-telephone-89068
11/08/2022, 11:45 PMcargo.toml enough to determine what will be "spat out" - need to know the architectures being generated of course.
Compiler and Toolchain
The assumption would be that we can hook straight into cargo execution
Do we run rustc ?
Package Management
cargo.lock file exists, - need to look how it is handled With Python/pip,poetry and Java/maven today. This should be similar same, which has the best example ?
Linting and Formatting
run cargo fmt :-) ?
Testing
run cargo test :-) ?
Compilation
• same , run cargo.
• What about debug output formats etc
• multi architecture generation
Caching
need to know how the caching architecture works and how we seed it from a rust point of view.
Build Generators
• w.r.t. Dependency Inference:
• In theory this may just be, have extension points to that a call to "shell" can declare what will be output.
An example (personally used) is auto generation of json-schema files, from the rust struct external data types.
Then used in APIs.
Actions
• collate the above list into a clear set of requirements
• call out any dependencies or "solved by one action" between them
• identify any known gaps in Pants today that blocks us for beginning this work
pantsbuild/pants