]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
Windows: Disable LLVM crash dialog boxes.
[rust.git] / compiler / rustc_llvm / llvm-wrapper / RustWrapper.cpp
index dcd6327c92f6a38789a747473ac8ca6d11bc1b55..d871290744f8bae8ca20b908c41015358c85bd60 100644 (file)
@@ -76,6 +76,10 @@ extern "C" void LLVMRustInstallFatalErrorHandler() {
   install_fatal_error_handler(FatalErrorHandler);
 }
 
+extern "C" void LLVMRustDisableSystemDialogsOnCrash() {
+  sys::DisableSystemDialogsOnCrash();
+}
+
 extern "C" char *LLVMRustGetLastError(void) {
   char *Ret = LastError;
   LastError = nullptr;