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

Rewrite platform specific dependencies in Cargo.toml #1572

Merged
merged 1 commit into from
Apr 21, 2023

Conversation

viccie30
Copy link
Contributor

This PR adds support for rewriting platform specific dependencies.

I have added a test by copying lib_with_path_dep_sdist and changing Cargo.toml.

@netlify
Copy link

netlify bot commented Apr 19, 2023

Deploy Preview for maturin-guide ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 110625e
🔍 Latest deploy log https://app.netlify.com/sites/maturin-guide/deploys/644159f015523b0008383468
😎 Deploy Preview https://deploy-preview-1572--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 settings.

tests/run.rs Outdated Show resolved Hide resolved
@viccie30 viccie30 force-pushed the rewrite-platform-specific-dependencies branch from 73d7235 to 110625e Compare April 20, 2023 15:27
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!

bors r+

bors bot added a commit that referenced this pull request Apr 21, 2023
1572: Rewrite platform specific dependencies in Cargo.toml r=messense a=viccie30

This PR adds support for rewriting [platform specific dependencies](https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies).

I have added a test by copying `lib_with_path_dep_sdist` and changing `Cargo.toml`.

Co-authored-by: Victor Westerhuis <[email protected]>
@bors
Copy link
Contributor

bors bot commented Apr 21, 2023

Build failed:

@messense
Copy link
Member

bors retry

@bors
Copy link
Contributor

bors bot commented Apr 21, 2023

Build succeeded:

@bors bors bot merged commit 5d5b96a into PyO3:main Apr 21, 2023
@viccie30 viccie30 deleted the rewrite-platform-specific-dependencies branch April 21, 2023 03:21
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