Skip to content

Commit b80dc74

Browse files
Darksonnojeda
authored andcommitted
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>
1 parent 7e9535e commit b80dc74

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/android/binder/rust_binder_main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
// Copyright (C) 2025 Google LLC.
44

55
//! Binder -- the Android IPC mechanism.
6+
7+
#![crate_name = "rust_binder"]
68
#![recursion_limit = "256"]
79
#![allow(
810
clippy::as_underscore,

0 commit comments

Comments
 (0)