commit | 5478c54f60b972f8741d43879efea760e97dfeaf | [log] [tgz] |
---|---|---|
author | easoncylee <easoncylee@google.com> | Tue Jul 06 02:18:07 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Jul 06 02:18:07 2021 +0000 |
tree | 8c0c8cb8052b6735ac8dba69305d0f9a81a73027 | |
parent | 1e9b8fce001ccce7c6f878457b43ff6da3382a0d [diff] | |
parent | df6b82079438635ec89fb07e5aa35227076db1bd [diff] |
Update vpnprofilestore_test to legacykeystore_test in TEST_MAPPING am: 3c8cbe0379 am: 29c38f48b5 am: 8c6165b2e3 am: df6b820794 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/thread_local/+/1755950 Change-Id: I98ebcac8a40d30d1ea16d71f9d3c56f85bd1498b
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.