Skip to content

Commit 91477cf

Browse files
authored
Merge pull request #214 from rust-lang/fix-osx
Add prefixes to more symbols in libbacktrace
2 parents 344919f + 9c9e78f commit 91477cf

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

crates/backtrace-sys/build.rs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,19 @@ fn main() {
9494
"backtrace_qsort",
9595
"backtrace_create_state",
9696
"backtrace_uncompress_zdebug",
97+
98+
// These should be `static` in C, but they aren't...
99+
"macho_get_view",
100+
"macho_symbol_type_relevant",
101+
"macho_get_commands",
102+
"macho_try_dsym",
103+
"macho_try_dwarf",
104+
"macho_get_addr_range",
105+
"macho_get_uuid",
106+
"macho_add",
107+
"macho_add_symtab",
108+
"macho_file_to_host_u64",
109+
"macho_file_to_host_u32",
97110
];
98111
let prefix = if cfg!(feature = "rustc-dep-of-std") {
99112
println!("cargo:rustc-cfg=rdos");

0 commit comments

Comments
 (0)