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

Remove unnecessary unsafe impls for WinitWindows on Wasm #11270

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

kettle11
Copy link
Contributor

@kettle11 kettle11 commented Jan 9, 2024

Objective

In the past winit::window::Window was not Send + Sync on web. rust-windowing/winit#2834 made winit::window::Window Sync + Send so Bevy's unsafe impl is no longer necessary.

Solution

Remove the unsafe impls.

Copy link
Contributor

github-actions bot commented Jan 9, 2024

Welcome, new contributor!

Please make sure you've read our contributing guide and we look forward to reviewing your pull request shortly ✨

@alice-i-cecile alice-i-cecile added A-Windowing Platform-agnostic interface layer to run your app in C-Code-Quality A section of code that is hard to understand or change labels Jan 9, 2024
@matiqo15 matiqo15 added the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label Jan 9, 2024
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Jan 9, 2024
Merged via the queue into bevyengine:main with commit 13d3de8 Jan 9, 2024
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Windowing Platform-agnostic interface layer to run your app in C-Code-Quality A section of code that is hard to understand or change S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants