about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-09-11 17:38:03 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-09-11 17:38:03 +0000
commitb4d55a8799c6a3f6bcdd4be551bb1817f8c63b68 (patch)
tree5c51262d29c25a60ffb191a1e74c035f18e2a539
parentb7ed9ad22674de27c01f3a87120c66a835503af7 (diff)
downloadrust-b4d55a8799c6a3f6bcdd4be551bb1817f8c63b68.tar.gz
rust-b4d55a8799c6a3f6bcdd4be551bb1817f8c63b68.zip
Add missing dbghelp link directive for windows
-rw-r--r--patches/0030-stdlib-Add-missing-dbghelp-link-directive.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/patches/0030-stdlib-Add-missing-dbghelp-link-directive.patch b/patches/0030-stdlib-Add-missing-dbghelp-link-directive.patch
new file mode 100644
index 00000000000..67eebaf6da0
--- /dev/null
+++ b/patches/0030-stdlib-Add-missing-dbghelp-link-directive.patch
@@ -0,0 +1,24 @@
+From 95de09ace678555e65e1d92a3c7f5b5c46053e13 Mon Sep 17 00:00:00 2001
+From: bjorn3 <17426603+bjorn3@users.noreply.github.com>
+Date: Wed, 11 Sep 2024 17:37:06 +0000
+Subject: [PATCH] Add missing dbghelp link directive
+
+---
+ library/windows_targets/src/lib.rs | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/library/windows_targets/src/lib.rs b/library/windows_targets/src/lib.rs
+index 1965b6c..fa45a1e 100644
+--- a/library/windows_targets/src/lib.rs
++++ b/library/windows_targets/src/lib.rs
+@@ -35,6 +35,7 @@ pub macro link {
+ 
+ #[cfg(not(feature = "windows_raw_dylib"))]
+ #[link(name = "advapi32")]
++#[link(name = "dbghelp")]
+ #[link(name = "ntdll")]
+ #[link(name = "userenv")]
+ #[link(name = "ws2_32")]
+-- 
+2.34.1
+