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

Namespace ambiguity between foo.< and foo._LT_ #233

Open
jeaye opened this issue Feb 4, 2025 · 0 comments
Open

Namespace ambiguity between foo.< and foo._LT_ #233

jeaye opened this issue Feb 4, 2025 · 0 comments
Labels

Comments

@jeaye
Copy link
Member

jeaye commented Feb 4, 2025

@frenchy64 put up a fix for this, but it leads to two new issues:

  1. If both of those become their own ns, we need to store the atomic counter outside of the ns so that two ns with the same munged symbol name share the same counter. A synchronized map in rt context would do.
  2. The module load fn for both of these would have the same symbol, so we need a way to handle separating them. Perhaps we can make them unique and then attach an attribute to the object file which says the load fn name. Or maybe include a global string with internal linkage which hold that value and we can pull it out of the object file? Will take some research.
@jeaye jeaye added the type:bug label Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant