commit | 669575570fd72088101ddf1b8df86d1131fab82c | [log] [tgz] |
---|---|---|
author | James Farrell <[email protected]> | Tue Aug 06 17:04:27 2024 +0000 |
committer | James Farrell <[email protected]> | Tue Aug 06 17:04:27 2024 +0000 |
tree | c208ebf12982258dc3e0e7d5a5c92d069ff97f7f | |
parent | 2e9be23a7c3ab512468df721f4b1c4804f1ab637 [diff] |
Update Android.bp by running cargo_embargo Test: ran cargo_embargo Change-Id: I2bda6c0f1e8313263db7926ced4b9056b9d0666c
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.59.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.