1
Fork 0

Windows: Disable LLVM crash dialog boxes.

This commit is contained in:
Eric Huss 2022-01-27 16:53:17 -08:00
parent 21b4a9cfdc
commit e1eff1b0e8
3 changed files with 6 additions and 0 deletions

View 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;