Cosmetic: build: add comment about rust deps
Reviewed-by: Luca Weiss <luca@z3ntu.xyz> Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20230806184729.4891-4-ollieparanoid@postmarketos.org%3E
This commit is contained in:
parent
0ff6ad481d
commit
94fbe9746b
|
@ -108,6 +108,9 @@ def init_compiler(args, depends, cross, arch):
|
||||||
if cross == "crossdirect":
|
if cross == "crossdirect":
|
||||||
cross_pkgs += ["crossdirect"]
|
cross_pkgs += ["crossdirect"]
|
||||||
if "rust" in depends or "cargo" in depends:
|
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
|
cross_pkgs += depends
|
||||||
|
|
||||||
pmb.chroot.apk.install(args, cross_pkgs)
|
pmb.chroot.apk.install(args, cross_pkgs)
|
||||||
|
|
Loading…
Reference in New Issue