Skip to content

Commit 64afc03

Browse files
authored
Rollup merge of rust-lang#130047 - ChrisDenton:win-dbghelp, r=wesleywiser
Win: Add dbghelp to the list of import libraries This is used by the backtrace crate. But we use a submodule to include backtrace in std (rather than being a real crate) so we need to add the dependency here.
2 parents 9448662 + d6e859b commit 64afc03

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

windows_targets/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,5 @@ pub macro link {
3838
#[link(name = "ntdll")]
3939
#[link(name = "userenv")]
4040
#[link(name = "ws2_32")]
41+
#[link(name = "dbghelp")] // required for backtrace-rs symbolization
4142
extern "C" {}

0 commit comments

Comments
 (0)