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

@ -987,6 +987,7 @@ pub type SelfProfileAfterPassCallback = unsafe extern "C" fn(*mut c_void);
extern "C" {
pub fn LLVMRustInstallFatalErrorHandler();
pub fn LLVMRustDisableSystemDialogsOnCrash();
// Create and destroy contexts.
pub fn LLVMRustContextCreate(shouldDiscardNames: bool) -> &'static mut Context;