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

allow Context to be Send #34

Merged
merged 1 commit into from
Dec 10, 2024
Merged

allow Context to be Send #34

merged 1 commit into from
Dec 10, 2024

Conversation

ekiwi
Copy link
Contributor

@ekiwi ekiwi commented Dec 9, 2024

I am trying to use a single solver across multiple threads. That requires Context to implement Send. The only thing I had to change was to require the replay_file to be Send which should be fine since std::fs::File implements Send: https://doc.rust-lang.org/std/fs/struct.File.html#impl-Send-for-File

Copy link
Collaborator

@fitzgen fitzgen left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@fitzgen fitzgen merged commit b5f8056 into elliottt:main Dec 10, 2024
1 check passed
@fitzgen
Copy link
Collaborator

fitzgen commented Dec 10, 2024

For posterity: this is technically a breaking change, so we should bump the version accordingly on the next release.

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