Rust

The FreeBSD Rust team takes care of Rust Programming Language and Rust FreeBSD Ports and Packages.

Support

We currently maintain lang/rust for the following architecture and release combinations:

Rust in the FreeBSD Kernel

Johannes Lundberg4 created a RustKPI FreeBSD Kernel Module) and e1000 Rust FreeBSD Network Driver example and Hello World Example as part of his Masters Thesis on Safe Kernel Programming with Rust (2018, PDF).

Anatol Ulrich5 wrote a Hello world FreeBSD kernel module in Rust. (github.com, 2021)

In August 2022, David Young6 of NCCGroup posted a Writing FreeBSD Kernel Modules in Rust research article and accompanying BSD-Licensed code repository, based on Johannes Lundberg's original work, updated to target Rust 2021.

Rust Team

Contact


CategoryPorts CategoryTeam

  1. < 12.1 not supported due to a bug in rtld (1)

  2. 13.0 will use the new ELFv2 ABI (2)

  3. requires custom kernel with COMPAT_FREEBSD11 (3)

  4. https://github.com/johalun (4)

  5. https://github.com/spookyvision (5)

  6. https://github.com/sciguy16 (6)

Rust (last edited 2022-10-25T00:37:20+0000 by KubilayKocak)