commit | 7e0e08f9c5fd7380fff2c881c151764ec39564bb | [log] [tgz] |
---|---|---|
author | Andrew Walbran <qwandor@google.com> | Mon Jun 15 17:33:51 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon Jun 15 17:33:51 2020 +0000 |
tree | 06b398b6bb2748a5cccc74801fec261f14dd85ab | |
parent | 5234adbbe1af1dacbbb2155be340aab005dad43b [diff] | |
parent | b8db4a38e6895a213ed28d9fe4d401295f6bb8b8 [diff] |
Allow building for device. am: d296d1a7da am: 392862428c am: b8db4a38e6 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/pin-utils/+/1333195 Change-Id: I541be6f68b843ea971ae6f2bb955937940aae6b6
Utilities for pinning
First, add this to your Cargo.toml
:
[dependencies] pin-utils = "0.1.0-alpha.4"
Now, you can use it:
use pin_utils::pin_mut; // And more...
The current version of pin-utils requires Rust 1.33 or later.
This project is licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in pin-utils by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.