-
I have a CMake project where adding nanobind results in build failing with the message
Toolchain:
|
Beta Was this translation helpful? Give feedback.
Answered by
wjakob
Aug 6, 2024
Replies: 1 comment 1 reply
-
That's not a nanobind issue but a more general one involving Python. Either you compile your own Python with ASAN, or you need to use LD_PRELOAD as the message says. If you load an ASAN-based shared library into a non-ASAN process, it's already too late. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This may be useful by the way: it explains how to use sanitizers in one of the projects I'm developing: https://drjit.readthedocs.io/en/latest/debug.html#sanitizing-python-sessions