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

fix(demangle): Unbreak GitHub Action Windows builds #891

Merged
merged 2 commits into from
Jan 14, 2025

Conversation

d-e-s-o
Copy link
Contributor

@d-e-s-o d-e-s-o commented Jan 13, 2025

The 12.13.0 release and pull request #885 specifically broke GitHub Action based Windows builds. The reason seems to be that the Swift library upgrade now relies on C++17 features and the GitHub Actions Windows image uses MSVC 2022, which requires an explicit opt-in to those. The provided -std=c++17 works on GCC and similar, but does not have any effect on MSVC.
To fix the build, add the flag that MSVC understands for opting in to the new standard.

The 12.13.0 release and pull request getsentry#885 specifically broke GitHub
Action based Windows builds. The reason seems to be that the Swift
library upgrade now relies on C++17 features and the GitHub Actions
Windows image uses MSVC 2022, which requires an explicit opt-in to
those. The provided -std=c++17 works on GCC and similar, but does not
have any effect on MSVC.
To fix the build, add the flag that MSVC understands for opting in to
the new standard.

Signed-off-by: Daniel Müller <[email protected]>
@loewenheim
Copy link
Contributor

Hi, thank you for the fix!

@loewenheim
Copy link
Contributor

I've taken the liberty of adding a changelog entry.

@loewenheim loewenheim enabled auto-merge (squash) January 14, 2025 09:29
@loewenheim loewenheim merged commit bb8d38d into getsentry:master Jan 14, 2025
12 checks passed
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.

2 participants