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

Only set rustflags when necessary #1978

Merged
merged 1 commit into from Mar 5, 2024
Merged

Only set rustflags when necessary #1978

merged 1 commit into from Mar 5, 2024

Conversation

taiki-e
Copy link
Contributor

@taiki-e taiki-e commented Mar 4, 2024

Similar to #887, but handles more cases.

As explained in that PR, explicitly setting rustflags has several side effects.
A concrete example of where this has caused problems is taiki-e/portable-atomic#151, but I know of several other instances where setting rustflags might cause problems: taiki-e/cargo-llvm-cov#332, taiki-e/cargo-llvm-cov#212 (Those are examples from cargo-llvm-cov, but I think similar problems could occur in maturin).

Copy link

netlify bot commented Mar 4, 2024

Deploy Preview for maturin-guide ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 6bf464a
🔍 Latest deploy log https://app.netlify.com/sites/maturin-guide/deploys/65e606435687850008c1967b
😎 Deploy Preview https://deploy-preview-1978--maturin-guide.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

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 7f1df2b into PyO3:main Mar 5, 2024
29 checks passed
@taiki-e taiki-e deleted the rustflags branch March 5, 2024 03:54
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.

None yet

2 participants