Skip to content

Conversation

eli-schwartz
Copy link
Contributor

Unlike on Windows, it is perfectly acceptable to set symbol visibility for static libraries, and it magically works. In fact, it even beneficially does something useful.

This simplifies the code by avoiding special cases.

Unlike on Windows, it is perfectly acceptable to set symbol visibility
for static libraries, and it magically works. In fact, it even
beneficially does something useful.

This simplifies the code by avoiding special cases.
@res2k
Copy link
Contributor

res2k commented Nov 1, 2022

Could it result in the mimalloc symbols being visible when a mimalloc static library is linked into some shared library?
If so - that behavior may be unwanted.

@daanx
Copy link
Collaborator

daanx commented Nov 22, 2022

.. I am unsure about the consequences of this -- but I like simpler code :-). Can an expert weigh in?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants