commit | 3d36a466283d7926745ea7242fe104911ac79c33 | [log] [tgz] |
---|---|---|
author | Karsten Tausche <karsten@fairphone.com> | Wed Dec 07 09:05:56 2022 +0100 |
committer | Karsten Tausche <karsten@fairphone.com> | Wed Dec 07 09:05:56 2022 +0100 |
tree | 5ea8d132ab05426361c61684f35300352fd05ad1 | |
parent | 945d4c17d45cbfcd999f213f836774fc632d1726 [diff] | |
parent | 5de2464a658002700e9c2e70a9ad8e5acb351429 [diff] |
Merge tag 'android-13.0.0_r16' into int/13/fp3 Android 13.0.0 Release 16 (TQ1A.221205.011) * tag 'android-13.0.0_r16': Change-Id: I6d1dbde9d02ef56126301c1c486646c673daa506
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.