diff options
author | Sergii Parubochyi <sergiip@google.com> | 2023-11-22 23:15:03 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2023-11-22 23:15:03 +0000 |
commit | 207a35def43978e6eb55681279d6175f633cb1a0 (patch) | |
tree | 1581c4d9545cdce8e7df4125b43cb83b1a29f3b5 | |
parent | 2837738dddd631c42892d25f199d59d5d89fc08c (diff) | |
parent | 4e5cfa7cfc2bc1cd2fbcc419027df687f124d4d0 (diff) | |
download | spin-207a35def43978e6eb55681279d6175f633cb1a0.tar.gz |
Add mutex feature for std variant am: 4e5cfa7cfc
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/spin/+/2842870
Change-Id: Ifddca3497feb93aef0721c89c261214c41e6ecba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | Android.bp | 4 | ||||
-rw-r--r-- | cargo_embargo.json | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -40,7 +40,9 @@ rust_library { srcs: ["src/lib.rs"], edition: "2015", features: [ + "mutex", "once", + "spin_mutex", "std", ], apex_available: [ @@ -66,7 +68,9 @@ rust_test { }, edition: "2015", features: [ + "mutex", "once", + "spin_mutex", "std", ], rustlibs: ["libcriterion"], diff --git a/cargo_embargo.json b/cargo_embargo.json index d3b04d4..e32838b 100644 --- a/cargo_embargo.json +++ b/cargo_embargo.json @@ -5,6 +5,8 @@ { "features": [ "once", + "mutex", + "spin_mutex", "std" ], "tests": true |