makslevental wrote: But `NanobindAdaptors.h` is a header and so this flag does need to be set on all users of the header not just those building/using the library. Possibly actually this should be an `extern` in the header itself? https://github.com/llvm/llvm-project/pull/125733