Skip to content

Support for drivers in Rust

Ben Hutchings requested to merge benh/linux:rust into debian/latest

Some preparatory changes:

  • Add 'c_' prefix to compiler configuration field and variables
  • module: Disable MODVERSIONS: no longer needed and complicates Rust support

Infrastructure changes for building (or not building) Rust code:

  • Implement configuration for Rust compiler and other build-dependencies
  • d/rules.real: Set KRUSTFLAGS and HOSTRUSTFLAGS to make filenames relative

Configuration changes to enable it and the currently useful drivers:

  • [amd64,arm64,armhf,loong64,riscv64] Enable building Rust modules
  • Enable Rust PHY drivers and their dependencies
  • Enable DRM panic handler with QR code generator
Edited by Ben Hutchings

Merge request reports

Loading