Use -fvisibility=hidden for libunwind
We don't want to export any symbols from Rust's version of libunwind as these may collide with other copies of libunwind e.g. when linking Rust staticlib together C/C++ libraries that have their own version.
This commit is contained in:
parent
f8d394e518
commit
32d1a4b025
@ -89,6 +89,7 @@ mod llvm_libunwind {
|
||||
cfg.flag("-fno-rtti");
|
||||
cfg.flag("-fstrict-aliasing");
|
||||
cfg.flag("-funwind-tables");
|
||||
cfg.flag("-fvisibility=hidden");
|
||||
}
|
||||
|
||||
let mut unwind_sources = vec![
|
||||
|
Loading…
Reference in New Issue
Block a user