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 debug platform inclusion for Windows #2978

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

vinistock
Copy link
Member

@vinistock vinistock commented Dec 12, 2024

Motivation

As reported in #1767 (comment), the mri platform indeed excludes Windows. Without the right platform constraints, using debug on Windows is not possible.

Implementation

I reached out to the RubyGems team and apparently there's no platform constraint for MRI on any operating system.

They suggested using install_if as a workaround. This isn't exactly the same as a platform constraint, but it seems to achieve the same from practical standpoint.

Automated Tests

Added a test that should guarantee that debug is available on the platforms we support.

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@vinistock vinistock self-assigned this Dec 12, 2024
@vinistock vinistock added bugfix This PR will fix an existing bug server This pull request should be included in the server gem's release notes labels Dec 12, 2024
@vinistock vinistock force-pushed the 12-12-fix_debug_platform_inclusion_for_windows branch 4 times, most recently from d729aaf to f52a779 Compare December 12, 2024 21:08
@vinistock vinistock force-pushed the 12-12-fix_debug_platform_inclusion_for_windows branch 6 times, most recently from 3122d59 to 6015989 Compare December 13, 2024 20:03
@vinistock vinistock force-pushed the 12-12-fix_debug_platform_inclusion_for_windows branch from 6015989 to aed3f7a Compare December 16, 2024 20:52
@vinistock vinistock marked this pull request as ready for review December 16, 2024 21:18
@vinistock vinistock requested a review from a team as a code owner December 16, 2024 21:18
@vinistock vinistock merged commit 32d8431 into main Dec 16, 2024
37 checks passed
@vinistock vinistock deleted the 12-12-fix_debug_platform_inclusion_for_windows branch December 16, 2024 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This PR will fix an existing bug server This pull request should be included in the server gem's release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants