Skip to content

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.

@github-actions
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
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