Demo: Using Rust with Yocto Project
10-29, 14:45–15:20 (Europe/Dublin), Intermediate Room

The Rust programming language has been named the "most loved programming language" in the Stack Overflow Developer Survey every year since 2016. However, many Embedded Linux developers are unfamiliar with this language and with the benefits it can provide. There is also a knowledge gap on how to build and deploy software written in Rust using OpenEmbedded and Yocto Project.


This session will focus on demonstrating how to use Rust with Yocto Project. Two basic applications will be written along with the metadata needed by the Cargo build tool.

Yocto Project recipes will be generated for each application and added to a layer. An image will then be built containing both applications and this will be tested out under qemu.

In addition some brief thoughts on how Rust and the Cargo build tool interact with the license compliance features of Yocto Project will be discussed.

This talk is aimed at an intermediate audience. No familiarity with the Rust programming language is assumed.

See also:

Paul Barker has been an active member of the Yocto Project community since 2013. He has contributed to the project in many ways, including maintaining the opkg package manager during 2013-2015. More recent contributions have focused on Board Support Packages for several single board computers and core components such as the archiver. As a Principal Engineer at Konsulko, Paul helps resolves technical challenges for clients in all areas of Embedded Linux development including the kernel, U-boot and Yocto Project. He is also the maintainer for the SanCloud BSP for Yocto Project and a contributor to the Automotive Grade Linux (AGL) project. Paul previously worked with several clients as the Pricipal Engineer of Beta Five Ltd and before that he was responsible for the development and maintenance of Linux support at CommAgility Ltd, a manufacturer of telecomms test equipment.

Paul has previously spoken on the subject of license compliance at ELC Europe in 2019 and on the subject of Yocto Project best practices at the associated Yocto Project developer day. Paul has also spoken on the subject of opkg maintenance and Embedded Linux based underwater noise monitoring equipment at FOSDEM in 2014, as well as at several academic conferences on the subjects of underwater acoustics, noise monitoring equipment and data analysis.