Merge "rust sysroot libs are available to all APEXes"
diff --git a/Android.bp b/Android.bp
index 671b1bd..cff0984 100644
--- a/Android.bp
+++ b/Android.bp
@@ -6,12 +6,16 @@
// of these crates by user code.
// The most likely place for this to occur would be liblibc.
rust_defaults {
- name: "rust_sysroot_defaults",
- no_stdlibs: true,
- edition: "2018",
- native_coverage: false,
- host_supported: true,
- sysroot: true,
+ name: "rust_sysroot_defaults",
+ no_stdlibs: true,
+ edition: "2018",
+ native_coverage: false,
+ host_supported: true,
+ sysroot: true,
+ apex_available: [
+ "//apex_available:platform",
+ "//apex_available:anyapex",
+ ],
}
rust_library_rlib {