You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci: use Python version specific CARGO_TARGET_DIR (#14953)
## Description
Use Python version specific `CARGO_TARGET_DIR` for src/native, Rust
extension module. This has a few benefits
1. Parallelizing build_base_venv jobs. While working on #13984, I
noticed that since build_base_venv jobs on GitLab run in the same
dd-trace-py directory and use the same `CARGO_TARGET_DIR`, and there's
cargo lock, only one of them could run at a time.
2. Re-use Rust build artifacts as much as possible. Consider a scenario
one builds dd-trace-py using multiple different Python versions in a
row. In that case, the build had to spend extra time after switching to
a different Python version, as src/native has to be re-linked and
re-built with different Python binaries.
<!-- Provide an overview of the change and motivation for the change -->
## Testing
<!-- Describe your testing strategy or note what tests are included -->
## Risks
<!-- Note any risks associated with this change, or "None" if no risks
-->
## Additional Notes
<!-- Any other information that would be helpful for reviewers -->
0 commit comments