From 94fbe9746bfead61f5a3b8b3cdaadea135b2363d Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Sun, 6 Aug 2023 20:43:30 +0200 Subject: [PATCH] Cosmetic: build: add comment about rust deps Reviewed-by: Luca Weiss Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20230806184729.4891-4-ollieparanoid@postmarketos.org%3E --- pmb/build/init.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pmb/build/init.py b/pmb/build/init.py index f10ae73c..38bfae5f 100644 --- a/pmb/build/init.py +++ b/pmb/build/init.py @@ -108,6 +108,9 @@ def init_compiler(args, depends, cross, arch): if cross == "crossdirect": cross_pkgs += ["crossdirect"] if "rust" in depends or "cargo" in depends: + # crossdirect for rust installs all build dependencies in the + # native chroot too, as some of them can be required for building + # native macros / build scripts cross_pkgs += depends pmb.chroot.apk.install(args, cross_pkgs)