diff options
author | Andrew Walbran <qwandor@google.com> | 2023-05-12 14:05:05 +0000 |
---|---|---|
committer | Andrew Walbran <qwandor@google.com> | 2023-05-12 14:52:23 +0000 |
commit | 848421d1f0850cb5abfea84f21bde96c416f07e4 (patch) | |
tree | d878ed1bb3d1ad0cf168026f2aa8104f3ddb4ced /Android.bp | |
parent | 275646277700efc41ab7e914810b53d65fd0e1a7 (diff) | |
download | ciborium-io-848421d1f0850cb5abfea84f21bde96c416f07e4.tar.gz |
Use new no-std flag to cargo2android.
Bug: 279614907
Test: Ran cargo2android and compared Android.bp
Change-Id: Iacf967b528194b74d99bdcbc05f11cdb2da82281
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -46,6 +46,10 @@ rust_library_rlib { srcs: ["src/lib.rs"], edition: "2021", features: ["alloc"], + apex_available: [ + "//apex_available:platform", + "//apex_available:anyapex", + ], prefer_rlib: true, no_stdlibs: true, stdlibs: [ @@ -53,8 +57,6 @@ rust_library_rlib { "libcompiler_builtins.rust_sysroot", "libcore.rust_sysroot", ], - apex_available: [ - "//apex_available:platform", - "//apex_available:anyapex", - ], + product_available: true, + vendor_available: true, } |