bindgen
bindgen copied to clipboard
Crash in clang destructor
@@ -100,6 +100,9 @@ void BindgenASTConsumer::serializeAndOutput() {
stream << "macros" << JsonStream::Separator << this->m_macros; // "macros": [ ... ]
stream << JsonStream::ObjectEnd; // }
+
+ // FIXME: Currently the process crashes during clang's Parser destructor. This is a workaround.
+ exit(0);
}