]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #55564 - smaeul:test-fixes-2, r=alexcrichton
authorPietro Albini <pietro@pietroalbini.org>
Sun, 18 Nov 2018 22:24:32 +0000 (23:24 +0100)
committerGitHub <noreply@github.com>
Sun, 18 Nov 2018 22:24:32 +0000 (23:24 +0100)
commit21ff709954f4bde159d7890e2fe973c58fa872ef
tree978cd3267a045b25715b08fcb9a49d87e20a5744
parent36e1d9f3edee62058a871d432a07dc4326f3e082
parent8c8ff6a4e14fc8c9ded15b37a910127bbce6cda2
Rollup merge of #55564 - smaeul:test-fixes-2, r=alexcrichton

test/linkage-visibility: Ignore on musl targets

DynamicLibrary uses libc's dlsym() function internally to find symbols.
Some implementations of dlsym(), like musl's, only look at dynamically-
exported symbols, as found in shared libraries. To also export symbols
from the main executable, pass --export-dynamic to the linker.

(Plus see [here](https://stackoverflow.com/questions/4184017) and [here](https://stackoverflow.com/questions/6121838) for examples of where this is necessary on glibc as well.)