diff options
| author | Eric Huss <eric@huss.org> | 2022-01-27 16:53:17 -0800 |
|---|---|---|
| committer | Eric Huss <eric@huss.org> | 2022-01-27 16:53:17 -0800 |
| commit | e1eff1b0e89bf2350dcf4d7933f1984f2c37c9c4 (patch) | |
| tree | 621b20c36e43fddc9fc121beaabb245c1c5f5d1a /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 21b4a9cfdcbb1e76f4b36b5c3cfd64d627285093 (diff) | |
| download | rust-e1eff1b0e89bf2350dcf4d7933f1984f2c37c9c4.tar.gz rust-e1eff1b0e89bf2350dcf4d7933f1984f2c37c9c4.zip | |
Windows: Disable LLVM crash dialog boxes.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
| -rw-r--r-- | compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp index dcd6327c92f..d871290744f 100644 --- a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp +++ b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp @@ -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; |
