Thread (32 messages) 32 messages, 4 authors, 2025-08-15

Re: [PATCH v4 00/24] vdso: Reject absolute relocations during build

From: Thomas Weißschuh <hidden>
Date: 2025-08-13 08:16:06
Also in: linux-kbuild, linux-mips, linux-mm, linux-riscv, linux-s390, linux-um, lkml, llvm, loongarch, rust-for-linux

On Tue, Aug 12, 2025 at 01:07:34PM +0200, Miguel Ojeda wrote:
On Tue, Aug 12, 2025 at 7:44 AM Thomas Weißschuh
[off-list ref] wrote:
quoted
Kbuild and Rust folks: This contains custom definitions of hostprog
bindgen and rust library commands.
These are currently only defined inside the subsystem directory.
Let me know if they should go into scripts/Makefile.host.
Glad to see more Rust host progs :)

Keeping them local may be a bit easier initially to land, I guess
(e.g. no docs), and then we can generalize when needed later.
I'm happy to do the docs etc. I only wanted to avoid doing all that work,
only for it to stay a subsystem-local solution.

Also it would be nice to have a Kconfig symbol, RUSTC_CAN_LINK or similar,
which indicates that the rust compiler can build host programs.
By the way, for consistency with elsewhere, probably we want
`HOSTRUSTLIB` -> `HOSTRUSTC L`. Though I am thinking to remove the `L`
anyway since eventually a lot of code will be "lib".
Ack.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help