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

Disable compilation flag #186

Closed
NicoMuleo opened this issue Oct 11, 2024 · 5 comments
Closed

Disable compilation flag #186

NicoMuleo opened this issue Oct 11, 2024 · 5 comments
Labels
enhancement New feature or request
Milestone

Comments

@NicoMuleo
Copy link
Contributor

It would be useful to have a compilation flags that allows to completely deactivate/delete every Snitch functionality at compilation time.

Something similar to doctest DOCTEST_CONFIG_DISABLE

@cschreib cschreib added the enhancement New feature or request label Oct 11, 2024
@cschreib cschreib added this to the v1.x milestone Oct 11, 2024
@cschreib
Copy link
Member

Sounds useful indeed.

@NicoMuleo
Copy link
Contributor Author

Great, I see you added in the milestone, thank you!!
Do you have a general idea of when this might feature be implemented?

@cschreib
Copy link
Member

Nothing precise, no. I don't think it's a particularly difficult thing to implement, although the devil might be in the details (e.g., how to test this, what should be compiled-out vs what has to stay, etc.).

If you're keen to have this available sooner rather than later, you're welcome to create a pull request (see contribution guidelines). Otherwise, someone else will need to pick this up when they have a bit of free time, which is the bit that is difficult to predict ;)

@NicoMuleo
Copy link
Contributor Author

Here is the pull request.

@cschreib cschreib modified the milestones: v1.x, v1.3.0 Nov 30, 2024
@cschreib
Copy link
Member

Thank you for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants