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

build: remove obsolete CRASHPAD_WER_ENABLED #950

Merged
merged 9 commits into from
Feb 14, 2024

Conversation

supervacuus
Copy link
Collaborator

we initially introduced the build flag because of a potentially missing struct member if an older target version than 19041 was selected in a build:

getsentry/crashpad#70

But upstream fixed that with a local compatibility struct a while ago:

https://chromium.googlesource.com/crashpad/crashpad/+/ca928c8d6b651b7123f1a5cad36dba08ca2416bc

That means we can get rid of the build-flag entirely, because this will build on all supported platforms and add a runtime version check for build == 19041, so that we don't even register the module (including not polluting the registry) on WER versions that don't support fast-fail crashes .

we initially introduced the build flag because of a potentially missing struct member if an older target version than 19041 was selected in a build:

getsentry/crashpad#70

But upstream fixed that with a local compatibility struct a while ago:

https://chromium.googlesource.com/crashpad/crashpad/+/ca928c8d6b651b7123f1a5cad36dba08ca2416bc

That means we can get rid of the build-flag entirely, because this will build on all supported platforms and add a runtime version check for `build == 19041`, so that we don't even register the module (including not polluting the registry) on WER versions that don't support fast-fail crashes .
Copy link

codecov bot commented Feb 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (9ea6090) 86.53% compared to head (2790157) 82.64%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #950      +/-   ##
==========================================
- Coverage   86.53%   82.64%   -3.89%     
==========================================
  Files          40       53      +13     
  Lines        3676     7376    +3700     
  Branches        0     1186    +1186     
==========================================
+ Hits         3181     6096    +2915     
- Misses        495     1171     +676     
- Partials        0      109     +109     

@supervacuus supervacuus merged commit 5596cbb into master Feb 14, 2024
20 checks passed
@supervacuus supervacuus deleted the build/remove_crashpad_wer_flag branch February 14, 2024 09:48
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