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

Add missing traits to avoid compilation issues #56

Merged
merged 2 commits into from
Jul 27, 2023

Conversation

vstakhov
Copy link
Contributor

When building polkadot with the recent orchestra I have revealed that the build fails on a very late stage (when linking the service), as orchestra does not explicitly specifies that signals waiting futures are Send. The goal of this PR is to fix this issue...

@vstakhov vstakhov added the bug Something isn't working label Jul 26, 2023
@vstakhov vstakhov requested a review from drahnr July 26, 2023 11:56
@drahnr
Copy link
Collaborator

drahnr commented Jul 26, 2023

Does <dyn X + Send> work? I don't quite remember, but I think that might be preferrable

@vstakhov
Copy link
Contributor Author

I'd prefer BoxFuture as it is less verbose + it has a lifetime definition which is also useful to resolve potential issues.

@drahnr
Copy link
Collaborator

drahnr commented Jul 27, 2023

Let's merge it then.

@vstakhov vstakhov merged commit aae3f82 into master Jul 27, 2023
6 checks passed
@drahnr drahnr deleted the vstakhov-fix-send-trait branch July 27, 2023 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants