diff options
-rw-r--r-- | Android.bp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -10,7 +10,7 @@ rust_test { crate_name: "arrayvec", cargo_env_compat: true, cargo_pkg_version: "0.7.4", - srcs: ["src/lib.rs"], + crate_root: "src/lib.rs", test_suites: ["general-tests"], auto_gen_config: true, test_options: { @@ -34,7 +34,7 @@ rust_test { crate_name: "tests", cargo_env_compat: true, cargo_pkg_version: "0.7.4", - srcs: ["tests/tests.rs"], + crate_root: "tests/tests.rs", test_suites: ["general-tests"], auto_gen_config: true, test_options: { @@ -59,7 +59,7 @@ rust_library { crate_name: "arrayvec", cargo_env_compat: true, cargo_pkg_version: "0.7.4", - srcs: ["src/lib.rs"], + crate_root: "src/lib.rs", edition: "2018", features: [ "default", |