(I'm assuming crosscompiling then running on Linux, not bare-metal (but that also should be possible)) Not a big project, but I've run simple HTTP server on one. To be honest, with Rust it mostly just: rustup target add arm-unknown-linux-musleabihf cargo build --target arm-unknown-linux-musleabihf You might need to adjust target, depending on which Raspberry Pi version you're using. In my case, because I've fairly old one (RPi 1 B+), I had to additionally download gcc toolchain (for linking) from arm's website, as the one from distro didn't support armv6. Answer from Shadow0133 on reddit.com
🌐
GitHub
github.com › rust-embedded › rust-raspberrypi-OS-tutorials
GitHub - rust-embedded/rust-raspberrypi-OS-tutorials: :books: Learn to write an embedded OS in Rust :crab: · GitHub
Rust itself is already helping a lot in that regard, because it has built-in support for cross-compilation. All that we need for cross-compiling from an x86 host to the Raspberry Pi's AArch64 architecture will be automatically installed by rustup.
Starred by 14.6K users
Forked by 870 users
Languages   Rust 82.2% | Makefile 8.5% | Ruby 5.9% | Assembly 3.2%
Discussions

Operating System Development Tutorials in Rust on the Raspberry Pi
I love the idea of doing more operating system experiments on RPIs just because of the availability & consistency of the platform. You don't have to worry about thousands of drivers for the most part, plus if you're using the RPI 400[1], basically everything is included in the keyboard · Rust ... More on news.ycombinator.com
🌐 news.ycombinator.com
29
201
September 28, 2021
Programming a raspberry pi without linux
I was wondering if anyone had experimented with using a raspberry pi without an OS, just as a (very powerful) controller. You could then use something like RTFM to write your application. My search so far: Found rust-raspi3-OS-tutorials, had a look through and see that it hard-codes the register ... More on users.rust-lang.org
🌐 users.rust-lang.org
3
1
August 8, 2019
Announce: RusPiRo - a kernel the Rust way ;) - Raspberry Pi Forums
Plus there are now lost cost FPGA's ... run on Pi's. It is a very interesting time for Robotics. Looks like I need to install Rustc on Buster, was going to wait for USB boot and a 4B4. I'm dancing on Rainbows. Raspberries are not Apples or Oranges ... Fri Aug 09, 2019 10:51 am NOSWORT, German for not working? nice try This has no meaning in German, but WORT is German for "word" And fantastic to see an ML library in Rust that seem to be ready to be used in "no-os" environments ... More on raspberrypi.org
🌐 raspberrypi.org
August 1, 2019
Stanford CS140e: Writing a Raspberry Pi OS in Rust

This looks awesome. Can we take it without any experience in rust?

More on reddit.com
🌐 r/osdev
3
34
January 13, 2018
🌐
Konohitowa
konohitowa.github.io › about.html
Piros: A Rust OS on a Raspberry Pi
I decided I wanted to write an embedded OS with security as the focus. I also thought it would be cool to target the Raspberry Pi 3 Model B (henceforth called "3B") since it's cheap, powerful, and fairly well supported. Having decided my goal and the platform, the biggest decision I had remaining ...
🌐
Raspberry Pi Forums
forums.raspberrypi.com › board index › programming › other programming languages
Installing Rust - Raspberry Pi Forums
November 10, 2023 - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh if you visit that page from a Mac, Linux or similar machine. I prefer this because: 1) The Debian packages are generally somewhat out of date. Rust is still under development and it is easy to fetch new stable versions with the rustup command that gets installed as above.
🌐
Raspberry Pi Forums
forums.raspberrypi.com › board index › programming › other programming languages
Installing Rust on Pi 4, 32 bit Pi OS. - Raspberry Pi Forums
So although the Pi was still running a 32 bit user land the kernel identified as 64 bit which confused the Rust installer. If one follows the Rust installation instructions here: https://www.rust-lang.org/tools/install the resulting Rust installation will not run on a Pi4 with a 32 bit Pi OS.
🌐
Raspberry Pi Forums
forums.raspberrypi.com › board index › programming › other programming languages
Rust-language in Raspberry Pi OS - Raspberry Pi Forums
Also comparing the assembler code produced by the two compilers might show another reason for the large sized rust executables. For fun, even C is huge compared to assembler ... ... $ as hello.s -o hello.o $ ld hello.o -o hello $ ls -lh hello -rwxr-xr-x 1 pi pi 992 Apr 29 08:53 hello $ strip hello $ ls -lh hello -rwxr-xr-x 1 pi pi 384 Apr 29 08:53 hello ... Since when is a C "hello" executable (stripped) 66K??? From my Raspberry Pi (hello is not stripped, the _stripped version I created today, by running "strip" with "-o"):
🌐
OSDev Wiki
wiki.osdev.org › Raspberry_Pi_Bare_Bones_Rust
Raspberry Pi Bare Bones Rust - OSDev Wiki
This is it! You've built Rust code for bare metal arm that will run on the Raspberry Pi!
Find elsewhere
🌐
GitHub
github.com › rust-embedded › rust-raspberrypi-OS-tutorials › blob › master › 00_before_we_start › README.md
rust-raspberrypi-OS-tutorials/00_before_we_start/README.md at master · rust-embedded/rust-raspberrypi-OS-tutorials
Both arch and bsp contain code that is conditionally compiled depending on the actual target and board for which the kernel is compiled. For example, the interrupt controller hardware of the Raspberry Pi 3 and the Raspberry Pi 4 is different, but we want the rest of the kernel code to play nicely with any of the two without much hassle.
Author   rust-embedded
🌐
GeeksforGeeks
geeksforgeeks.org › how-to-install-rust-on-raspberry-pi
How to Install Rust on Raspberry Pi? | GeeksforGeeks
July 23, 2025 - Quick Preview to Install Linux ... into the process ... Rust is a general-purpose programming language that is known for its performance, type safety and concurrency, and better memory management....
🌐
GitHub
github.com › transistorfet › ruxpin
GitHub - transistorfet/ruxpin: An Operating System written in Rust for a Raspberry Pi 3 (Aarch64)
An Operating System written in Rust for a Raspberry Pi 3 (Aarch64) - transistorfet/ruxpin
Author   transistorfet
🌐
Apriorit
apriorit.com › home › blog › software development blog › how to develop a minimal os for raspberry pi 3 in rust
How to Develop a Minimal OS for Raspberry Pi 3 in Rust | Apriorit
October 10, 2025 - Learn how to develop a minimal kernel with I/O operations for Raspberry Pi 3 using the Rust programming language.
🌐
Hacker News
news.ycombinator.com › item
Operating System Development Tutorials in Rust on the Raspberry Pi | Hacker News
September 28, 2021 - I love the idea of doing more operating system experiments on RPIs just because of the availability & consistency of the platform. You don't have to worry about thousands of drivers for the most part, plus if you're using the RPI 400[1], basically everything is included in the keyboard · Rust ...
🌐
Liamrosenfeld
liamrosenfeld.com › projects › rustos
Raspberry Pi OS in Rust
The project also included a very interesting debugging experience early on. When building the shell, I encountered my first kernel crash. After running the program with a modified version of the rust core library, I narrowed it down to the internal write function.
🌐
Raspberry Pi
raspberrypi.com › home › news › rust on rp2350
Rust on RP2350 - Raspberry Pi
September 6, 2024 - Jonathan Pallant tells us about the exciting work on the Rust programming language on embedded platforms RP2040 and, now, our new chip RP2350.
🌐
freeCodeCamp
freecodecamp.org › news › embedded-rust-programming-on-raspberry-pi-zero-w
Embedded Rust Programming on Raspberry Pi Zero W
June 9, 2022 - Using a Raspberry Pi Zero W, you can quickly get up and running with embedded Rust. Starting with an embedded "Hello World" equivalent, and advancing to a text-to-morse-code translator, this article will walk you through the process. ... Use the Raspberry Pi Imager which can be downloaded from the Raspberry Pi Software Webpage. A distribution I'd suggest is Raspberry Pi OS Lite.
🌐
DeepWiki
deepwiki.com › rust-embedded › rust-raspberrypi-OS-tutorials
rust-embedded/rust-raspberrypi-OS-tutorials | DeepWiki
April 18, 2025 - The Rust Raspberry Pi OS Tutorials repository provides a comprehensive, step-by-step guide to developing a monolithic operating system kernel for the Raspberry Pi 3 and 4 using the Rust programming language.
🌐
Raspberry Pi
raspberrypi.org › forums › viewtopic.php
Announce: RusPiRo - a kernel the Rust way ;) - Raspberry Pi Forums
August 1, 2019 - The aim is to provide while building the project simple as self contained as possible building blocks (crates in Rust terms) for re-usability that allows others to mix-and-match the features they want to re-use and start building their own when needed. The current target architecture of the project is Raspberry Pi 3(B+) in 32Bit bare metal.
🌐
DeepWiki
deepwiki.com › rust-embedded › rust-raspberrypi-OS-tutorials › 1.2-getting-started
Getting Started | rust-embedded/rust-raspberrypi-OS-tutorials | DeepWiki
April 18, 2025 - This document provides a guide for setting up the development environment and understanding the basic project workflow for the Rust Raspberry Pi OS tutorials. It covers the installation of required de
🌐
Rustrepo
rustrepo.com › repo › rust-embedded-rust-raspberrypi-OS-tutorials-rust-operating-systems
Learn to write an embedded OS in Rust | RustRepo
January 6, 2023 - Rust itself is already helping a lot in that regard, because it has built-in support for cross-compilation. All that we need for cross-compiling from an x86 host to the Raspberry Pi's AArch64 architecture will be automatically installed by rustup.