From: Alice Ryhl Date: Thu, 2 Apr 2026 10:55:34 +0000 (+0000) Subject: rust_binder: override crate name to rust_binder X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b80dc74cd6b8f50b4c5cf5923a9726995d787bd8;p=thirdparty%2Fkernel%2Flinux.git rust_binder: override crate name to rust_binder The Rust Binder object file is called rust_binder_main.o because the name rust_binder.o is used for the result of linking together rust_binder_main.o with rust_binderfs.o and a few others. However, the crate name is supposed to be rust_binder without a _main suffix. Thus, override the crate name accordingly. Signed-off-by: Alice Ryhl Acked-by: Gary Guo Acked-by: Greg Kroah-Hartman Link: https://patch.msgid.link/20260402-binder-crate-name-v4-2-ec3919b87909@google.com Signed-off-by: Miguel Ojeda --- diff --git a/drivers/android/binder/rust_binder_main.rs b/drivers/android/binder/rust_binder_main.rs index aa5f2a75adb47..85a15dd40becc 100644 --- a/drivers/android/binder/rust_binder_main.rs +++ b/drivers/android/binder/rust_binder_main.rs @@ -3,6 +3,8 @@ // Copyright (C) 2025 Google LLC. //! Binder -- the Android IPC mechanism. + +#![crate_name = "rust_binder"] #![recursion_limit = "256"] #![allow( clippy::as_underscore,