diff options
author | Yiming Jing <yimingjing@google.com> | 2021-07-23 23:24:49 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-07-23 23:24:49 +0000 |
commit | 2a46d333c6d40d1f06ce0814123640101b800c65 (patch) | |
tree | b46cce7a3590df091154733442864a967dacd173 | |
parent | a536d70b61df9a1edea23d0d5416d8c1bf330d8d (diff) | |
parent | 064decfa62eee1fb6601d0320ab4790008e683e2 (diff) | |
download | webpki-2a46d333c6d40d1f06ce0814123640101b800c65.tar.gz |
Enable alloc and std for verifying RSA signatures am: 035a56f71c am: d2766f4aea am: 064decfa62
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/webpki/+/1776889
Change-Id: I1cdad47072db088a8a80671a0f6f63e735db72ef
-rw-r--r-- | Android.bp | 12 | ||||
-rw-r--r-- | cargo2android.json | 1 |
2 files changed, 13 insertions, 0 deletions
@@ -9,6 +9,10 @@ rust_library { crate_name: "webpki", srcs: ["src/lib.rs"], edition: "2018", + features: [ + "alloc", + "std", + ], rustlibs: [ "libring", "libuntrusted", @@ -22,6 +26,10 @@ rust_defaults { test_suites: ["general-tests"], auto_gen_config: true, edition: "2018", + features: [ + "alloc", + "std", + ], rustlibs: [ "libbase64_rust", "libring", @@ -48,6 +56,10 @@ rust_defaults { test_suites: ["general-tests"], auto_gen_config: true, edition: "2018", + features: [ + "alloc", + "std", + ], rustlibs: [ "libbase64_rust", "libring", diff --git a/cargo2android.json b/cargo2android.json index a005be1..8a00514 100644 --- a/cargo2android.json +++ b/cargo2android.json @@ -1,5 +1,6 @@ { "device": true, + "features": "alloc,std", "run": true, "tests": true } |