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