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 for SIGXCPU #542

Merged
merged 1 commit into from
Oct 16, 2024
Merged

Fix for SIGXCPU #542

merged 1 commit into from
Oct 16, 2024

Conversation

SO9010
Copy link
Contributor

@SO9010 SO9010 commented Oct 16, 2024

This fixes the issue of the program closing when in the dev build #539

Simple solution for this is to customised the dev build settings:

[profile.dev]
opt-level = 1
debug = true
lto = false

@SO9010 SO9010 marked this pull request as ready for review October 16, 2024 14:32
@jacksongoode jacksongoode self-requested a review October 16, 2024 16:27
Copy link
Collaborator

@jacksongoode jacksongoode left a comment

Choose a reason for hiding this comment

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

Looks good, wondering where you got these config from?

@SO9010
Copy link
Contributor Author

SO9010 commented Oct 16, 2024

I just used the release settings and played with it from there, as I knew this wasn't an issue in release mode. It's the opt-level that affects it.

@jacksongoode jacksongoode merged commit a6e575c into jpochyla:main Oct 16, 2024
8 checks passed
@SO9010 SO9010 deleted the fix-regular-build branch October 16, 2024 22:45
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