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

initial-exec not reduced to less strict hint on unsupported platforms #87821

Open
Mark-Simulacrum opened this issue Aug 6, 2021 · 0 comments
Labels
A-thread-locals Area: Thread local storage (TLS) requires-nightly This issue requires a nightly compiler in some way.

Comments

@Mark-Simulacrum
Copy link
Member

As discovered in #81334 and "fixed" for the compiler in #85807, -Ztls-model=initial-exec does not work on some platforms. However, it seems like LLVM and/or rustc can automatically detect this on known unsupported platforms and either ignore or reduce the hint as needed.

See #85807 (comment), #85807 (comment).

@Mark-Simulacrum Mark-Simulacrum added requires-nightly This issue requires a nightly compiler in some way. A-thread-locals Area: Thread local storage (TLS) labels Aug 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-thread-locals Area: Thread local storage (TLS) requires-nightly This issue requires a nightly compiler in some way.
Projects
None yet
Development

No branches or pull requests

1 participant