debian-linux/debian/lib/python/debian_linux
Ben Hutchings 58b7300f9f Implement configuration for Rust compiler and other build-dependencies
- Add build.rust_build_depends, and build.enable_rust configuration
  fields.  The enable_rust field is expected to be set
  per-architecture while rust_build_depends can be global.

- Define a pkg.linux.norust build profile which disables use of Rust.

- For architectures where build.enable_rust is set, Build-Depend on
  everything in build.rust_build_depends, with a restriction to
  <!pkg.linux.nokernel !pkg.linux.norust>.

This doesn't support compiling OOT modules written in Rust, which is a
rather harder problem.
2025-11-27 11:59:13 +01:00
..
__init__.py Revert "debian/bin, debian/lib: Infrastructure was declared irrelevant, drop it." 2008-05-01 07:54:28 +00:00
abi.py Fix pycodestyle error 2020-04-01 10:40:47 -07:00
config.py Substitute all templates before parsing 2022-12-13 21:33:45 +01:00
config_v2.py Implement configuration for Rust compiler and other build-dependencies 2025-11-27 11:59:13 +01:00
dataclasses_deb822.py Use Python 3.12 syntax for variable types 2025-02-04 13:58:55 +01:00
dataclasses_extra.py Use Python 3.12 syntax for variable types 2025-02-04 13:58:55 +01:00
debian.py d/l/p/debian_linux/debian.py: Allow adding restrictions to PackageRelationGroup 2025-11-27 11:59:13 +01:00
firmware.py d/l/p/debian_linux/firmware.py: Handle quoted filenames 2024-07-06 01:33:36 +02:00
gencontrol.py Replace manual dh_install calls with debhelper 2025-10-09 09:15:01 +02:00
kconfig.py Handle quite some broken type definitions 2023-11-18 23:08:13 +01:00
test_debian.py Sort relations on output 2025-11-18 18:06:20 +01:00
utils.py Report undefined variable errors in templates 2024-08-22 19:56:00 +02:00