tag | 2f939c3e4cf3c3c3051d18fc4182f1f7031b315d | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed Jan 12 10:36:47 2022 -0800 |
object | f91f6ac65232aed1093ca5f5b112a26d6ab0f25d |
Android S v2 Preview 2 (S2B2.211203.006)
commit | f91f6ac65232aed1093ca5f5b112a26d6ab0f25d | [log] [tgz] |
---|---|---|
author | Joel Galenson <jgalenson@google.com> | Tue Aug 24 18:23:51 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Aug 24 18:23:51 2021 +0000 |
tree | 4ddc01f58a45aaef386e103b12029459d4cbd9f1 | |
parent | 8c6165b2e36b5cb0a5ff6fb06e772f4a993978b6 [diff] | |
parent | 428a58c1f356043ec3a339c15963771bf221bdf9 [diff] |
Update TEST_MAPPING am: 428a58c1f3 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/thread_local/+/1806202 Change-Id: I7fd9921cb4f41f385e819e33a1e1a2cbb5f884eb
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.36.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.