commit | 8180afdffead7e2c01797061c3a79fc57481a4e4 | [log] [tgz] |
---|---|---|
author | Jeff Vander Stoep <jeffv@google.com> | Fri Feb 17 18:52:48 2023 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Feb 17 18:52:48 2023 +0000 |
tree | fca6e46b70bad6ee4fb8ad4463affed590fb6d63 | |
parent | 24d7bf285817e8c876ff819ec829fb6171200ce4 [diff] | |
parent | 4039605b26d3bf0eec4a91b19b2470efe16b29c8 [diff] |
Upgrade thread_local to 1.1.7 am: 4039605b26 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/thread_local/+/2442943 Change-Id: I5bc12c4bf8e4871f7eb877e216740ef88cfcaa69 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This library provides the ThreadLocal
type which allow a separate copy of an object to be used for each thread. This allows for per-object thread-local storage, unlike the standard library's thread_local!
macro which only allows static thread-local storage.
Add this to your Cargo.toml
:
[dependencies] thread_local = "1.1"
This crate's minimum supported Rust version (MSRV) is 1.59.0.
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.