Using Rust with Yocto Project
Published:
Tags: conference-talk, yocto
I gave a talk on integrating software written in the Rust programming language with Yocto Project at the Yocto Project Summit (Europe) 2020. This was a virtual conference due to the pandemic.
Slides from this talk are available in PDF and PowerPoint (pptx) formats.
Abstract
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.