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

refactor(api): add Send + Sync trait when creating an instance #2569

Merged
merged 2 commits into from
Oct 6, 2021

Conversation

bnjjj
Copy link
Contributor

@bnjjj bnjjj commented Sep 10, 2021

Description

I'm currently implementing wasmer inside Krustlet (krustlet/krustlet#677). Then I had to force the thread safety of trait object used to create a wasmer instance. I know it could be a breaking change and maybe I miss some backgrounds about this. So feel free to let me know what do you think and how we could have a better implementation if needed. I'm open to any suggestions.

@Amanieu
Copy link
Contributor

Amanieu commented Oct 4, 2021

LGTM, could you rebase to resolve the conflicts?

@bnjjj bnjjj force-pushed the feat_send_sync_resolver branch from deb643f to 064154f Compare October 6, 2021 08:43
@bnjjj
Copy link
Contributor Author

bnjjj commented Oct 6, 2021

done

@Amanieu
Copy link
Contributor

Amanieu commented Oct 6, 2021

bors r+

@bors
Copy link
Contributor

bors bot commented Oct 6, 2021

👎 Rejected by too few approved reviews

@Amanieu
Copy link
Contributor

Amanieu commented Oct 6, 2021

bors r+

@bors
Copy link
Contributor

bors bot commented Oct 6, 2021

@bors bors bot merged commit 823c38c into wasmerio:master Oct 6, 2021
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