]> git.lizzy.rs Git - rust.git/commit
Use -fvisibility=hidden for libunwind
authorPetr Hosek <phosek@google.com>
Tue, 5 May 2020 19:41:23 +0000 (12:41 -0700)
committerPetr Hosek <phosek@google.com>
Tue, 5 May 2020 19:41:23 +0000 (12:41 -0700)
commit32d1a4b025716727bb9b350fcbddaad16ee1ab17
treee2bf182e9fd085334ca39a307fe8673423725794
parentf8d394e5184fe3af761ea1e5ba73f993cfb36dfe
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.
src/libunwind/build.rs