diff options
Diffstat (limited to 'patches/Android.bp.patch')
-rw-r--r-- | patches/Android.bp.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/patches/Android.bp.patch b/patches/Android.bp.patch new file mode 100644 index 0000000..1fa0e93 --- /dev/null +++ b/patches/Android.bp.patch @@ -0,0 +1,17 @@ +diff --git a/Android.bp b/Android.bp +index 34d110a..2348c03 100644 +--- a/Android.bp ++++ b/Android.bp +@@ -53,6 +53,12 @@ rust_library_rlib { + ], + product_available: true, + vendor_available: true, ++ prefer_rlib: true, ++ no_stdlibs: true, ++ stdlibs: [ ++ "libcompiler_builtins.rust_sysroot", ++ "libcore.rust_sysroot", ++ ], + } + + rust_test { |