diff options
Diffstat (limited to 'cargo2android_nostd.bp')
-rw-r--r-- | cargo2android_nostd.bp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cargo2android_nostd.bp b/cargo2android_nostd.bp index 6ec59a8..9712ce9 100644 --- a/cargo2android_nostd.bp +++ b/cargo2android_nostd.bp @@ -5,9 +5,11 @@ rust_library_rlib { cargo_pkg_version: "0.2.0", srcs: ["src/lib.rs"], edition: "2021", + features: ["alloc"], prefer_rlib: true, no_stdlibs: true, stdlibs: [ + "liballoc.rust_sysroot", "libcompiler_builtins.rust_sysroot", "libcore.rust_sysroot", ], |