Re: [PATCH 1/6] rust: binder: use strict provenance APIs

From: Gary Guo

Date: Wed May 27 2026 - 07:19:07 EST


On Fri May 22, 2026 at 6:12 PM BST, Tamir Duberstein wrote:
> Replace the pointer-to-integer conversions in the Binder Rust driver
> with calls to the strict provenance APIs.
>
> The strict provenance APIs were stabilized in Rust 1.84.0 [1]. Since
> commit f32fb9c58a5b ("rust: bump Rust minimum supported version to
> 1.85.0 (Debian Trixie)"), the minimum supported Rust version is
> 1.85.0, so no polyfills are needed.
>
> Link: https://blog.rust-lang.org/2025/01/09/Rust-1.84.0.html#strict-provenance-apis [1]
> Signed-off-by: Tamir Duberstein <tamird@xxxxxxxxxx>

Reviewed-by: Gary Guo <gary@xxxxxxxxxxx>

> ---
> drivers/android/binder/node.rs | 2 +-
> drivers/android/binder/rust_binder_main.rs | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)