On Thu, Sep 26, 2024 at 2:49 PM Sedat Dilek <sedat.dilek@xxxxxxxxx> wrote: > > Do you offer a (an optimized - optimized for kernel-builds) prebuilt > RUST toolchain - preferable for x86-64 hosts - like Nathan + > LLVM/Clang folk offer (see [1],[2])? Yes, Nathan himself provides those! :) https://mirrors.edge.kernel.org/pub/tools/llvm/rust/ He may comment further -- I think the Rust compiler itself is not built (yet?) with PGO etc. like he does for the LLVM side. As usual -- thanks Nathan! > Maybe I have missed in [3] or overlooked. If you go into the Quick Start guide from your link, you will see it linked at the top: https://docs.kernel.org/rust/quick-start.html I also mentioned these in LPC's Kernel Summit track (sorry, no video/stream yet, as far as I understand): https://lpc.events/event/18/contributions/1912/ > [ Provocative ] > Can I REALLY use a RUST-compiled Linux-kernel on BARE METAL? > Do I need special hardware? > Do you have a working in sense of bootable linux-config file? > ^^ This is a real question - not interested in any "technical preview". > ^^ You do NOT need to answer all this! I am not sure what you mean -- people has been using Linux with Rust enabled in real hardware for quite a while, e.g. Android and Asahi, plus others are upcoming (Fedora, as far as I know), and I regularly test in CI that the kernel boots in QEMU for several architectures and configs that we already have in-tree. I also regularly test in CI that the kernel can be built with `rustup`'s binaries, with several distro toolchains and with Nathan's toolchains too. Cheers, Miguel