| commit | 7ae653ee02a63300967ae30f20bfbed2dcd50d25 | [log] [tgz] |
|---|---|---|
| author | Matthew Maurer <mmaurer@google.com> | Tue May 31 15:54:17 2022 +0000 |
| committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue May 31 15:54:17 2022 +0000 |
| tree | d8a22c588aa494b94262134bd43189c3ce0d1cce | |
| parent | 4071e610fd4539aeeb7b043be64b77335f806e5a [diff] | |
| parent | 9704a083d042113986d1e0fdd2c25792c0d38cd4 [diff] |
Update TEST_MAPPING am: 9704a083d0 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/thread_local/+/2107133 Change-Id: Ia3b4b08121419727d7a79577239f17eb6cb840d9 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.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.