Don’t Worry, C and Rust Can FINALLY Coexist (Here’s How) | Embedded Rust and C on the RP2040 Pi Pico

FINALLY! Embedded C and Rust can coexist. For the longest time, there had been the great war of Rust vs C. In this video, I teach you how to create a Rust Crate and write C code for the Raspberry Pi Pico RP2040 that allows you to use both in an embedded environment. By creating a static archive library and linking it against your C code, you can compile Rust with your C for them to both run in the same runtime. Low Level Merch!: Support me on Patreon: Follow me on Twitter: Follow me on Twitch: Join me on Discord!: Follow along with me!: 0:00 Introduction 1:17 Rust Library Crate 5:47 Linking Rust C 7:43 Adding C to Rust
Back to Top