Merge "Remove rust test targets that cannot be run on Android." into main am: 6f4c4826f3 am: 7a89518f5b
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/rust-stemmers/+/3168620
Change-Id: I2a4af4d905a9e9ffc692bd9b4e4157009380528d
Signed-off-by: Automerger Merge Worker <[email protected]>
diff --git a/Android.bp b/Android.bp
index b54d311..182f9b2 100644
--- a/Android.bp
+++ b/Android.bp
@@ -21,20 +21,3 @@
product_available: true,
vendor_available: true,
}
-
-rust_test {
- name: "rust-stemmers_test_src_lib",
- host_supported: true,
- crate_name: "rust_stemmers",
- cargo_env_compat: true,
- cargo_pkg_version: "1.2.0",
- srcs: ["src/lib.rs"],
- test_suites: ["general-tests"],
- auto_gen_config: true,
- test_options: {
- unit_test: true,
- },
- edition: "2015",
- rustlibs: ["libserde"],
- proc_macros: ["libserde_derive"],
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
index c8842d1..1bbaa25 100644
--- a/cargo_embargo.json
+++ b/cargo_embargo.json
@@ -1,4 +1,4 @@
{
"run_cargo": false,
- "tests": true
+ "tests": false
}