Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unconditionally define decl exports for GNU-style visibility #637

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

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