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

Handholding Extras #3887

Merged
merged 2 commits into from
Jan 10, 2025
Merged

Handholding Extras #3887

merged 2 commits into from
Jan 10, 2025

Conversation

ravyu-jump
Copy link
Contributor

  • with-handholding.mk correctly activates the handholding macros

  • Use macros in spad to override default APIs with debug variants

two-heart
two-heart previously approved these changes Jan 8, 2025
@ravyu-jump ravyu-jump marked this pull request as ready for review January 8, 2025 16:17
@ravyu-jump ravyu-jump marked this pull request as draft January 8, 2025 16:17
@ravyu-jump ravyu-jump force-pushed the ravyu/handholding-extras branch 2 times, most recently from 2daee26 to c41a059 Compare January 8, 2025 17:17
@ravyu-jump ravyu-jump marked this pull request as ready for review January 8, 2025 17:19
@ravyu-jump ravyu-jump force-pushed the ravyu/handholding-extras branch 2 times, most recently from 1d986e2 to 88d0a2a Compare January 8, 2025 21:15
@ravyu-jump ravyu-jump force-pushed the ravyu/handholding-extras branch 2 times, most recently from 129bd8b to 936f1cd Compare January 9, 2025 15:22
Copy link
Contributor

@yufeng-jump yufeng-jump left a comment

Choose a reason for hiding this comment

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

I wonder if we shouldn't just extract the implementation into xxx_impl functions, and then the xxx_debug() variants would call the corresponding impl functions, and the non debug variants would be defined to either impl or debug, depending on whether handholding is on or not. This way we won't have to do the undef hack, and it's abundantly clear that the non debug variants are either just impl or debug.

@ravyu-jump ravyu-jump force-pushed the ravyu/handholding-extras branch from 936f1cd to ad21efc Compare January 10, 2025 19:38
yufeng-jump
yufeng-jump previously approved these changes Jan 10, 2025
@ravyu-jump ravyu-jump added this pull request to the merge queue Jan 10, 2025
Merged via the queue into main with commit 033574f Jan 10, 2025
10 checks passed
@ravyu-jump ravyu-jump deleted the ravyu/handholding-extras branch January 10, 2025 20:12
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.

4 participants