commit | 0ce744662e1abb7db8fadd6eac927c192b6239dc | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Mon Jul 20 19:03:14 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon Jul 20 19:03:14 2020 +0000 |
tree | cc62c80ebb8af49fa9d4986dabed0722008dd952 | |
parent | 74eef07e17a944e2a8c44f8c5894fddab4e2c77a [diff] | |
parent | ca7e6fe2aeacc129399244595e6c3fd2fbde5a75 [diff] |
Add rust_test and update TEST_MAPPING am: 7062658fd0 am: deb3b8ef51 am: a3532cd1cd am: ca7e6fe2ae Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/pin-utils/+/1365106 Change-Id: I2ddfab3d0e1a5bbc0aa3133cfedb3d5438b9b303
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.