mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-29 18:51:12 -09:00
Python has two build backends for packages that use Rust: setuptools-rust and maturin. Both are provided by the pyo3 package infrastructure (but that's not relevant for Buildroot). The setuptools-rust build backend is a setuptools extension that is capable of building python rust extensions. The maturin build backend is a pep517 build extension that is itself written in rust, it is itself bootstrapped using setuptools-rust but is not itself a setuptools extension. Both are from the pyo3 build infrastructure, so we add both of them in a single patch. They also share a lot of the cargo-specific handling. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> [Arnout: remove the _PYO3_ENV variables, the add little benefit] Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
13 KiB
13 KiB