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

Add -D compilation-timeout=42 #11987

Draft
wants to merge 1 commit into
base: development
Choose a base branch
from
Draft

Add -D compilation-timeout=42 #11987

wants to merge 1 commit into from

Conversation

kLabz
Copy link
Contributor

@kLabz kLabz commented Feb 7, 2025

To debug issues where compiler just hangs..

(do we have a safer way to get int from defines?)

@kLabz kLabz marked this pull request as draft February 7, 2025 13:27
@skial skial mentioned this pull request Feb 8, 2025
1 task
@PXshadow
Copy link
Contributor

PXshadow commented Feb 8, 2025

Can you easily aritifcally hang the compiler to make a test? Or what type of test are you thinking?

@kLabz
Copy link
Contributor Author

kLabz commented Feb 8, 2025

Macros can; other ways can't really be used as tests since they're supposed to be fixed at some point 😅

Can also compile something that takes a while, and set a short timeout 🤷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants