diff options
author | Yiming Jing <yimingjing@google.com> | 2021-07-23 22:47:51 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-07-23 22:47:51 +0000 |
commit | d2766f4aeab1a5dea53dd4b8d40dd07a0d3729cf (patch) | |
tree | b46cce7a3590df091154733442864a967dacd173 | |
parent | cc91334290bce9acb65248b2809a1727254c1245 (diff) | |
parent | 035a56f71c39ba3a2f032cf05910ab804ef44c22 (diff) | |
download | webpki-d2766f4aeab1a5dea53dd4b8d40dd07a0d3729cf.tar.gz |
Enable alloc and std for verifying RSA signatures am: 035a56f71c
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/webpki/+/1776889
Change-Id: If69cc9191f4d82ab91ed3cb4b777e2004d2853e4
-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 } |