Skip to content

Upgrade winit to 0.30 in unity-native-plugin-tester#22

Merged
aosoft merged 2 commits into
masterfrom
taniuchi/#21
May 1, 2026
Merged

Upgrade winit to 0.30 in unity-native-plugin-tester#22
aosoft merged 2 commits into
masterfrom
taniuchi/#21

Conversation

@aosoft
Copy link
Copy Markdown
Owner

@aosoft aosoft commented May 1, 2026

Summary

  • Bump winit from 0.23 to 0.30 and raw-window-handle from 0.3 to 0.6
  • Rewrite the EventLoop::run_return-based implementation using the ApplicationHandler trait + EventLoop::run_app (WindowBuilder::new() -> Window::default_attributes() + ActiveEventLoop::create_window(); new_any_thread -> EventLoopBuilderExtWindows::with_any_thread)
  • Move winit / raw-window-handle to [dependencies] and drop #[cfg(windows)] from the window module to prepare for future macOS / Linux support. winapi / wio remain Windows-only.

Closes #21

Test plan

  • cargo build --workspace --all-features
  • cargo test --workspace --all-features --no-run
  • Verify the D3D11 tester on a Windows machine

aosoft added 2 commits May 1, 2026 23:16
…-handle`, `winapi`), improve app lifecycle handling, and modernize `Window` creation logic.
@aosoft aosoft merged commit abff83f into master May 1, 2026
3 checks passed
@aosoft aosoft deleted the taniuchi/#21 branch May 1, 2026 14:25
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.

Upgrade winit in unity-native-plugin-tester

1 participant