summaryrefslogtreecommitdiff
path: root/drivers/android
diff options
context:
space:
mode:
authorAlice Ryhl <aliceryhl@google.com>2026-04-02 10:55:34 +0000
committerMiguel Ojeda <ojeda@kernel.org>2026-04-03 11:57:35 +0200
commitb80dc74cd6b8f50b4c5cf5923a9726995d787bd8 (patch)
tree92a0ba192b6e7caa6df8696308dbbd12f847f117 /drivers/android
parent7e9535ebd05d7e8de155164b7c97a370d4646e06 (diff)
downloadlwn-b80dc74cd6b8f50b4c5cf5923a9726995d787bd8.tar.gz
lwn-b80dc74cd6b8f50b4c5cf5923a9726995d787bd8.zip
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 <aliceryhl@google.com> Acked-by: Gary Guo <gary@garyguo.net> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://patch.msgid.link/20260402-binder-crate-name-v4-2-ec3919b87909@google.com Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'drivers/android')
-rw-r--r--drivers/android/binder/rust_binder_main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/android/binder/rust_binder_main.rs b/drivers/android/binder/rust_binder_main.rs
index aa5f2a75adb4..85a15dd40bec 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,