Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix constant rebuilds #2446

Merged
merged 3 commits into from
Jan 21, 2025
Merged

Fix constant rebuilds #2446

merged 3 commits into from
Jan 21, 2025

Conversation

TheZoq2
Copy link
Contributor

@TheZoq2 TheZoq2 commented Jan 20, 2025

On some of my computers, maturin build always rebuilds pyo3 and friends, and looking at the cargo fingerprinting, this is caused by the py03-config file being written regardless of changes. This only writes the file if it has changed since last rebuild, which seems to prevent the problem.

@messense messense enabled auto-merge (squash) January 21, 2025 00:22
Copy link
Member

@messense messense left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@messense messense merged commit 5bcc730 into PyO3:main Jan 21, 2025
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants