diff options
author | Martin Geisler <mgeisler@google.com> | 2024-05-02 11:22:37 +0200 |
---|---|---|
committer | Martin Geisler <mgeisler@google.com> | 2024-05-02 11:23:25 +0200 |
commit | 408b42f6d2223a9102865b618649afa017566714 (patch) | |
tree | e6b11818939dc0eb3180ac74c279709b7e8206dc | |
parent | 6a87c1e8567cc1ec38c8ace39f9680903102e7a5 (diff) | |
download | mls-rs-codec-derive-main.tar.gz |
Build with mls_build_asyncmain
This switches the API to use async Rust throughout. We need async APIs
for the Jetpack library.
Bug: 337838209
Test: Presubmit
Change-Id: Ie521ed22c4baffb2eb434c08a4e25259f57a22d0
-rw-r--r-- | Android.bp | 1 | ||||
-rw-r--r-- | cargo_embargo.json | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -28,6 +28,7 @@ rust_proc_macro { cargo_pkg_version: "0.1.1", srcs: ["src/lib.rs"], edition: "2021", + cfgs: ["mls_build_async"], rustlibs: [ "libdarling", "libproc_macro2", 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"] } |