-
The nanobind docs mention the below: "Some projects choose to activate leak warnings for internal builds but disable them for wheels uploaded to PyPI, as they can be confusing to end users." Unfortunately I'm drawing blanks on how to do this concretely. Anyone have ideas on how to disable leak checks specifically when building wheels? Perhaps instruct cmake via environment variables set in cibuildwheel config? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Looks like I figured it out. For posteriority, here's what worked. Extension code:
CMakeLists.txt change:
And to turn it on in GitHub CI:
|
Beta Was this translation helpful? Give feedback.
Looks like I figured it out. For posteriority, here's what worked.
Extension code:
CMakeLists.txt change: