aboutsummaryrefslogtreecommitdiffstats
path: root/community/rust/497f879b1e24c369362bcd821959ffabc50a8a31.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/rust/497f879b1e24c369362bcd821959ffabc50a8a31.patch')
-rw-r--r--community/rust/497f879b1e24c369362bcd821959ffabc50a8a31.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/community/rust/497f879b1e24c369362bcd821959ffabc50a8a31.patch b/community/rust/497f879b1e24c369362bcd821959ffabc50a8a31.patch
deleted file mode 100644
index 7432cd705de..00000000000
--- a/community/rust/497f879b1e24c369362bcd821959ffabc50a8a31.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-Upstream: Yes
-From 497f879b1e24c369362bcd821959ffabc50a8a31 Mon Sep 17 00:00:00 2001
-From: Nikita Popov <nikita.ppv@gmail.com>
-Date: Mon, 2 Mar 2020 22:37:55 +0100
-Subject: [PATCH] Update CreateMemSet() usage for LLVM 10
-
----
- src/rustllvm/RustWrapper.cpp | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/src/rustllvm/RustWrapper.cpp b/src/rustllvm/RustWrapper.cpp
-index 25cfee3373dc4..799adb418822d 100644
---- a/src/rustllvm/RustWrapper.cpp
-+++ b/src/rustllvm/RustWrapper.cpp
-@@ -1333,8 +1333,13 @@ extern "C" LLVMValueRef LLVMRustBuildMemSet(LLVMBuilderRef B,
- LLVMValueRef Dst, unsigned DstAlign,
- LLVMValueRef Val,
- LLVMValueRef Size, bool IsVolatile) {
-+#if LLVM_VERSION_GE(10, 0)
-+ return wrap(unwrap(B)->CreateMemSet(
-+ unwrap(Dst), unwrap(Val), unwrap(Size), MaybeAlign(DstAlign), IsVolatile));
-+#else
- return wrap(unwrap(B)->CreateMemSet(
- unwrap(Dst), unwrap(Val), unwrap(Size), DstAlign, IsVolatile));
-+#endif
- }
-
- extern "C" LLVMValueRef