Faster build#27
Draft
apaetz wants to merge 22 commits into
Draft
Conversation
There was a problem hiding this comment.
Pull request overview
This PR aims to speed up builds in the Rust workspace (and CI) by adjusting test/build configuration for the PyO3-based Python binding crates and by tuning CPU-specific compilation flags.
Changes:
- Disable the lib test harness for the
binarandpaulimerPython binding crates viatest = false. - Update GitHub Actions workflow steps (formatting,
cargo test --all-targets, and Python bindings build) and setRUSTFLAGSfor bindings builds. - Change workspace-wide Cargo rustflags to
-C target-cpu=native, and add arch-awareRUSTFLAGSselection in the ADO pipeline for wheel builds.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
paulimer/bindings/python/Cargo.toml |
Disables the lib test harness for the paulimer Python binding crate. |
binar/bindings/python/Cargo.toml |
Disables the lib test harness for the binar Python binding crate. |
.github/workflows/build.yaml |
Reorders CI steps, updates cargo test flags, and consolidates Python bindings builds with explicit RUSTFLAGS. |
.cargo/config.toml |
Switches global workspace rustflags to target-cpu=native. |
.ado/stages/build.yaml |
Adds architecture-based RUSTFLAGS selection for wheel builds (x86_64 vs ARM64). |
added 16 commits
February 7, 2026 22:45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.