Skip to content

Conversation

ianks
Copy link
Collaborator

@ianks ianks commented May 8, 2025

Add a check and default definition for RUBY_DEBUG to ensure compatibility when RUBY_DEBUG is not already defined.

@ianks
Copy link
Collaborator Author

ianks commented May 8, 2025

@ianks ianks force-pushed the ruby-debug-docker branch from 813c217 to 9d4b156 Compare May 8, 2025 17:43
@ianks ianks marked this pull request as ready for review May 8, 2025 17:45
ianks added 5 commits May 8, 2025 15:02
Add a check and default definition for RUBY_DEBUG to ensure compatibility when RUBY_DEBUG is not already defined.
Ensure correct flag type is used for pointer width, preventing mismatched types on 32-bit and 64-bit architectures.
Replace RUBY_DEBUG guard with HAVE_RUBY_ASSERT_H, include ruby/assert.h when available, and remove manual RUBY_DEBUG definition.
- Trigger Docker workflow on docker branches
- Fix RUBY_DEBUG path in debug_ruby_assert_type macro
Relocate ruby/assert.h inclusion to the end and add RUBY_DEBUG fallback if not present. Ensures correct header order and macro definition.
@ianks ianks force-pushed the ruby-debug-docker branch from 21f33db to b3a327e Compare May 8, 2025 19:02
ianks added 2 commits May 8, 2025 15:13
Remove conditional inclusion of ruby/assert.h from wrapper.h.
Update debug_ruby_assert_type! macro to use cfg(ruby_ruby_debug).
Add code to use macro arguments when debug is disabled to avoid compiler warnings.
@ianks ianks merged commit 16d2560 into main May 8, 2025
67 checks passed
@ianks ianks deleted the ruby-debug-docker branch May 8, 2025 19:30
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.

1 participant