diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-02-18 06:24:51 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-02-18 06:24:51 +0000 |
commit | 735829d6c0bbdb31c2dc5a017a0918fae8c83876 (patch) | |
tree | fca6e46b70bad6ee4fb8ad4463affed590fb6d63 /Android.bp | |
parent | f2a855ee56dbbf62fe18c7aab00d44506a3610ea (diff) | |
parent | b28e5bc0e94741dd46983276586fdf08ebb3bace (diff) | |
download | thread_local-735829d6c0bbdb31c2dc5a017a0918fae8c83876.tar.gz |
Snap for 9626528 from b28e5bc0e94741dd46983276586fdf08ebb3bace to udc-release
Change-Id: Iba9bcb81f0744278806450aece4f2aec06650cff
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -42,12 +42,17 @@ rust_library { host_supported: true, crate_name: "thread_local", cargo_env_compat: true, - cargo_pkg_version: "1.1.4", + cargo_pkg_version: "1.1.7", srcs: ["src/lib.rs"], - edition: "2018", + edition: "2021", rustlibs: [ + "libcfg_if", "libonce_cell", ], + apex_available: [ + "//apex_available:platform", + "//apex_available:anyapex", + ], } rust_test { @@ -55,15 +60,17 @@ rust_test { host_supported: true, crate_name: "thread_local", cargo_env_compat: true, - cargo_pkg_version: "1.1.4", + cargo_pkg_version: "1.1.7", srcs: ["src/lib.rs"], test_suites: ["general-tests"], auto_gen_config: true, test_options: { unit_test: true, }, - edition: "2018", + edition: "2021", rustlibs: [ + "libcfg_if", + "libcriterion", "libonce_cell", ], } |