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