diff options
author | Martin Geisler <mgeisler@google.com> | 2024-05-02 11:24:46 +0200 |
---|---|---|
committer | Martin Geisler <mgeisler@google.com> | 2024-05-02 11:24:46 +0200 |
commit | d353d97a3b78c2ab02e720119f701dff313e065f (patch) | |
tree | 5b9e72c29031b249ecf579a8ac15d610480c9278 | |
parent | 214d7b9c75394bf33312483f5afdc73d53e8273a (diff) | |
download | mls-rs-codec-d353d97a3b78c2ab02e720119f701dff313e065f.tar.gz |
Build with mls_build_async
This switches the API to use async Rust throughout. We need async APIs
for the Jetpack library.
Bug: 337838209
Test: Presubmit
Change-Id: Ia00ed78a416839f3e3087524f557fe5e5ccf4d7c
-rw-r--r-- | Android.bp | 1 | ||||
-rw-r--r-- | cargo_embargo.json | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -31,6 +31,7 @@ rust_library { "preallocate", "std", ], + cfgs: ["mls_build_async"], rustlibs: ["libthiserror"], proc_macros: ["libmls_rs_codec_derive"], apex_available: [ diff --git a/cargo_embargo.json b/cargo_embargo.json index cb908d7..d0bed4a 100644 --- a/cargo_embargo.json +++ b/cargo_embargo.json @@ -1,3 +1,4 @@ { - "run_cargo": false + "run_cargo": false, + "extra_cfg": ["mls_build_async"] } |