Skip to content

Fix Windows CI build on newer MSVC#8858

Merged
atavism merged 1 commit into
mainfrom
atavism/windows-build-fix
Jun 12, 2026
Merged

Fix Windows CI build on newer MSVC#8858
atavism merged 1 commit into
mainfrom
atavism/windows-build-fix

Conversation

@atavism

@atavism atavism commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Adds MSVC experimental coroutine compatibility define to the Windows Flutter plugin targets that need it: flutter_inappwebview_windows_plugin and flutter_local_notifications_windows

Tested here: https://github.com/getlantern/lantern/actions/runs/27430885637

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Windows CMake build to work with newer MSVC behavior by scoping a coroutine-related compatibility preprocessor define to specific Flutter plugin targets, avoiding a broader language-mode change.

Changes:

  • Adds a target-scoped compile definition to silence experimental coroutine deprecation warnings for select Windows plugins.
  • Applies the define only when the plugin target exists, to keep configuration resilient across plugin set changes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jay-418 jay-418 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems right for the failure we saw.

@atavism atavism merged commit daa7335 into main Jun 12, 2026
24 checks passed
@atavism atavism deleted the atavism/windows-build-fix branch June 12, 2026 22:45
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.

3 participants