diff --git a/modules/key/server.cc b/modules/key/server.cc index 25b3a5ff3..885ddc298 100644 --- a/modules/key/server.cc +++ b/modules/key/server.cc @@ -54,7 +54,9 @@ method_get server_resource, "GET", handle_get }; - __attribute__((constructor)) +#ifdef RB_DEBUG +__attribute__((constructor)) +#endif static void _test_ed25519_() noexcept