commit | 29c38f48b5c5c2671f3363305b0a90c6b7a002c1 | [log] [tgz] |
---|---|---|
author | easoncylee <easoncylee@google.com> | Tue Jul 06 01:27:47 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Jul 06 01:27:47 2021 +0000 |
tree | 8c0c8cb8052b6735ac8dba69305d0f9a81a73027 | |
parent | a2b6c5c34c307059685286c645cfbffb2df6ae75 [diff] | |
parent | 3c8cbe0379737e97420aa15966ae70949412c11b [diff] |
Update vpnprofilestore_test to legacykeystore_test in TEST_MAPPING am: 3c8cbe0379 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/thread_local/+/1755950 Change-Id: I3b9269349004b76878cb44173b29073f65a879dc
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.