On Thu, Sep 26, 2024 at 2:58 PM Miguel Ojeda <miguel.ojeda.sandonis@xxxxxxxxx> wrote: > > 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/ > Thanks for the link! OK, I darkly remember seeing this somewhere. > 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. > Asahi or Fedora-Asahi? Do you have a link to a Linux-Live-System or maybe a pointer to a kernel-config? > 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. > Is it possible to download a built VM (rustup-binary) and test in QEMU for example? I have NO experiences with RUST - but it looks like things/development moved further. Before I wanted to test gendwarfksyms-v3 from Sami. Best regards and wishes, -sed@-