Skip to content

Use EventLoopExtWebSys::spawn in bevy_winit #6667

@allsey87

Description

@allsey87

See rust-windowing/winit#1714 for the relevant discussion, but the TLDR is that EventLoopExtWebSys::spawn provides a work around for the hack of using an exception to get the event loop working on the web platform.

rust-windowing/winit#2208 is included in winit 0.27.0 which is included in Bevy 0.9, however, bevy_winit is current not using this feature.

Other related issues: rust-windowing/winit#900 rust-windowing/winit#1199

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-WindowingPlatform-agnostic interface layer to run your app inC-FeatureA new feature, making something new possibleO-WebSpecific to web (WASM) builds

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions