diff options
Diffstat (limited to 'cargo2android.json')
-rw-r--r-- | cargo2android.json | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/cargo2android.json b/cargo2android.json index 89a0f3e..ed3dae4 100644 --- a/cargo2android.json +++ b/cargo2android.json @@ -1,13 +1,24 @@ { - "add-toplevel-block": "cargo2android_nostd.bp", "cfg-blocklist": [ "std_atomic64" ], "dependencies": true, "device": true, - "features": "default,derive,rc", + "min_sdk_version": "29", "run": true, - "tests": true, "vendor-available": true, - "min_sdk_version": "29" + "variants": [ + { + "features": "default,derive,rc", + "tests": true + }, + { + "alloc": true, + "features": "alloc,derive", + "force-rlib": true, + "no-host": true, + "suffix": "_nostd", + "no-std": true + } + ] } |