about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/LLVMWrapper.h
diff options
context:
space:
mode:
authorRémy Rakic <remy.rakic+github@gmail.com>2023-08-08 07:12:15 +0000
committerRémy Rakic <remy.rakic+github@gmail.com>2023-08-08 10:48:20 +0000
commitbcf7bfc9f4b6fb01cf36d7a3834cbd60a70f660a (patch)
tree696ada6d4706fe6111cad372f278653521f8d864 /compiler/rustc_llvm/llvm-wrapper/LLVMWrapper.h
parent8e7fd551311d424e4e63fa45906a2a928fce96a7 (diff)
downloadrust-bcf7bfc9f4b6fb01cf36d7a3834cbd60a70f660a.tar.gz
rust-bcf7bfc9f4b6fb01cf36d7a3834cbd60a70f660a.zip
remove llvm-wrapper include to silence deprecation warning
Includes of `include/llvm/Support/Host.h` now emit a deprecated warning:
`warning: This header is deprecated, please use llvm/TargetParser/Host.h`.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/LLVMWrapper.h')
-rw-r--r--compiler/rustc_llvm/llvm-wrapper/LLVMWrapper.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_llvm/llvm-wrapper/LLVMWrapper.h b/compiler/rustc_llvm/llvm-wrapper/LLVMWrapper.h
index ea045462845..3f2bf2c9b44 100644
--- a/compiler/rustc_llvm/llvm-wrapper/LLVMWrapper.h
+++ b/compiler/rustc_llvm/llvm-wrapper/LLVMWrapper.h
@@ -15,7 +15,6 @@
 #include "llvm/Support/DynamicLibrary.h"
 #include "llvm/Support/FormattedStream.h"
 #include "llvm/Support/JSON.h"
-#include "llvm/Support/Host.h"
 #include "llvm/Support/Memory.h"
 #include "llvm/Support/SourceMgr.h"
 #include "llvm/Support/TargetSelect.h"