Skip to content

Conversation

petrochenkov
Copy link
Contributor

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 25, 2020
Copy link
Member

@Amanieu Amanieu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some clarifications for the documentation.

------------------------

Option `-Z tls-model` controls [TLS model](https://www.akkadia.org/drepper/tls.pdf) used to
generate code for accessing `#[thread_local]` `static` items.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically speaking, the TLS model is supposed to be a per-variable attribute rather than a global one. However we don't currently have such an attribute, only a global setting which sets the default TLS model for all variables.

@petrochenkov
Copy link
Contributor Author

Updated.

@Amanieu
Copy link
Member

Amanieu commented Apr 26, 2020

@bors r+

@bors
Copy link
Collaborator

bors commented Apr 26, 2020

📌 Commit 66e41723c8694612efddd2f2e6d70abc557f61f3 has been approved by Amanieu

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 26, 2020
@bors
Copy link
Collaborator

bors commented Apr 26, 2020

☔ The latest upstream changes (presumably #71579) made this pull request unmergeable. Please resolve the merge conflicts.

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Apr 26, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 26, 2020
Rollup of 5 pull requests

Successful merges:

 - rust-lang#71421 (Add a function to turn Box<T> into Box<[T]>)
 - rust-lang#71537 (Remove support for self-opening)
 - rust-lang#71551 (Minor refactoring around IndexVec usage in generator transformation)
 - rust-lang#71569 ([miri] Throw UB if target size and data size don't match)
 - rust-lang#71576 (check that `AsRef` and `AsMut` are inlined)

Failed merges:

 - rust-lang#71558 (Cleanup and document `-Z tls-model` )

r? @ghost
@petrochenkov
Copy link
Contributor Author

@bors r=Amanieu

@bors
Copy link
Collaborator

bors commented Apr 26, 2020

📌 Commit 45dc435 has been approved by Amanieu

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Apr 26, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 27, 2020
Rollup of 7 pull requests

Successful merges:

 - rust-lang#67841 (Add Read/Write::can_read/write_vectored)
 - rust-lang#71524 (Minimize parameter of coerce_borrowed_pointer())
 - rust-lang#71558 (Cleanup and document `-Z tls-model` )
 - rust-lang#71578 (linkchecker: fix typo in main.rs)
 - rust-lang#71596 (Fix broken link in `QPath` documentation)
 - rust-lang#71604 (make recursive-zst test unleashed)
 - rust-lang#71605 (No need to whitelist E0750 anymore)

Failed merges:

r? @ghost
@bors bors merged commit f81a41a into rust-lang:master Apr 28, 2020
@petrochenkov petrochenkov deleted the tlsm branch February 22, 2025 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants