-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Rename internal module from statik
to no_threads
#139121
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
Conversation
r? @Noratrieb rustbot has assigned @Noratrieb. Use |
How about renaming it to "global"? "static" made me think of linker based TLS (in contrast to runtime created TLS) first before realizing it's just global for single threaded. Or maybe even no_threads. |
I think rust/library/std/src/sys/thread_local/statik.rs Lines 1 to 2 in 9e14530
|
On the inside it makes sense, but when just looking at the filename, no_threads is a lot clearer. Static is such an overloaded and confusing word that it's best avoided. |
This module is named in reference to the keyword, but the term is somewhat overloaded. Rename it to more clearly describe it and avoid the misspelling.
statik
to statics
statik
to no_threads
a5444b3
to
9b889e9
Compare
I've updated it for that change. |
awesome! |
…iaskrgr Rollup of 5 pull requests Successful merges: - rust-lang#136877 (Fix missing const for inherent pointer `replace` methods) - rust-lang#138797 (Fix `ProvenVia` for global where clauses) - rust-lang#139121 (Rename internal module from `statik` to `no_threads`) - rust-lang#139319 (StableMIR: Prepare for refactoring) - rust-lang#139404 (Small smir cleanup) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#139121 - thaliaarchi:rename-thread_local-statik, r=Noratrieb Rename internal module from `statik` to `no_threads` This module is named in reference to the keyword, but the term is somewhat overloaded. Rename it to more clearly describe it and avoid the misspelling.
…atik, r=Noratrieb Rename internal module from `statik` to `no_threads` This module is named in reference to the keyword, but the term is somewhat overloaded. Rename it to more clearly describe it and avoid the misspelling.
This module is named in reference to the keyword, but the term is somewhat overloaded. Rename it to more clearly describe it and avoid the misspelling.