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

feat!: require send as well as sync #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ctrlaltf24
Copy link

When the lazy_static feature "spin_no_std" is enabled, the bounds of Send is required This may happen if another dependency adds that feature, then cargo unifies the two dependency trees erroneously, causing a compile error requiring Send on Runtime.

This is technically a breaking change in case anyone had a Sync but not Send type implementing Function. May want to consider a minor version bump.

See more: rust-lang-nursery/lazy-static.rs#204

When the lazy_static feature "spin_no_std" is enabled, the bounds of Send is required
This may happen if another dependency adds that feature, then cargo unifies the two dependency trees erroneously, causing a compile error
requiring Send on Runtime.

This is technically a breaking change in case anyone had a Sync but not Send type implementing Function

See more: rust-lang-nursery/lazy-static.rs#204
@cetra3
Copy link
Collaborator

cetra3 commented Jan 3, 2024

I'm OK with this but would definitely make it a breaking change, which is not a bad thing!

@partim
Copy link

partim commented Jun 24, 2024

Hello!

Is there a chance that this PR could get merged soon and a release made? The underlying issue is blocking us in Krill from upgrading some dependencies leading to quite a lot of duplicate library crates being used slowing down compilation and bloating the binary.

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.

3 participants