Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e0225e6d authored by Gil Cukierman's avatar Gil Cukierman
Browse files

rust: Fix cargo build

Adds zerocopy so that we can build successfully. Also updates
dependencies to allow for the same versions present in the Android
build.

Bug: 425915863
Flag: EXEMPT cargo unused in Android builds
Test: cargo build --target aarch64-linux-android # requires
ANDROID_NDK_HOME

Change-Id: I58f1469ab0239eb7c6a561166d0820671e105522
parent 3dfa2300
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
[package]
[package]
name = "android-binder"
name = "android-binder"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
edition = "2021"
description = "Safe bindings to Android Binder, restricted to the NDK"
description = "Safe bindings to Android Binder, restricted to the NDK"
license = "Apache-2.0"
license = "Apache-2.0"


[dependencies]
[dependencies]
binder-ndk-sys = { package = "android-binder-ndk-sys", version = "0.1", path = "./sys" }
binder-ndk-sys = { package = "android-binder-ndk-sys", version = "0.1", path = "./sys" }
downcast-rs = "1.2.1"
downcast-rs = "2.0.1"
libc = "0.2.159"
libc = "0.2.159"
zerocopy = {version = "0.8.25", features = ["alloc"] }


[lints.rust.unexpected_cfgs]
[lints.rust.unexpected_cfgs]
level = "warn"
level = "warn"