Skip to content

Did you know?

From Linux 7.4, Android Binder is Rust-only: a kernel with Binder enabled needs a Rust toolchain.

Building 7.4+ with Binder? Run make LLVM=1 rustavailable first to confirm the Rust toolchain is ready.

Explained

Linux 7.4 removes the original C implementation of Binder, the IPC driver used by Android and by tools such as Waydroid. About 11,470 lines of C were deleted, and the Binder kernel option now depends on Rust support. The Rust driver, merged back in Linux 6.18, is the only implementation left. Its userspace ABI is unchanged, so apps and binderfs keep working.

The catch is for people who build their own kernels: if your config enables Binder, the build now needs rustc, bindgen and the Rust standard library sources. Check that the kernel build system can find them from the source tree:

make LLVM=1 rustavailable

It prints “Rust is available!” when everything is in place. Older stable kernels such as 7.3 still ship the C driver.

Learn more

← All tech tips · Suggest a fix

Back to top