Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 43 |
Nodes: | 6 (0 / 6) |
Uptime: | 107:25:38 |
Calls: | 290 |
Files: | 905 |
Messages: | 76,676 |
# setting the profile
I then propose we inject the
DEB_BUILD_PROFILES=norust
in the buildds for the ports architectures that do not have
a rustc.
As a result, my preliminary conclusion here is to NACK your request
barring further insight.
In the event that you move forward with this, I'd still appreciate a pkg.apt.nosqv build profile that reverts back to gnupg for all
architectures, because I don't see a good way to add Rust to the
architecture cross bootstrap due to unresolvable disagreement with llvm toolchain maintainers. It could also be a profile of gpgv-defaults. I'd really like us to benefit from Rust implementations in more areas, but
the current way its requirements are packaged pose road blocks.
With both gccrs and rustc_codegen_gcc in the works, I am expecting that this problem will be eventually resolved and Rust can be deployed universally like C/C++ or other languages supported by GCC.
The GCC backend rustc_codegen_gcc was supposed to be usable for several years now, but it seems that upstream integration in the official Rust compiler is rather slow unfortunately.
rustc -> llvm. I do not see how rustc_codegen_gcc is going to resolvethis dependency chain. I also do not see us wanting to break it.
# norust build profile
I propose we add a `norust` build profile such that packages
building Rust parts or integrating with Rust parts can
disable those parts.
For example, if apt gains sqv support, we can define a
pkg.apt.nosqv buildprofile, but it would be nice to just
use norust too.
The norust profile must NOT be used by packages building
exclusively Rust pieces, that is, it should be possible
to bootstrap a Rust toolchain and package set with the
profile set (and potentially you need externally built
cargo idk).
I then propose we inject the
DEB_BUILD_PROFILES=norust
in the buildds for the ports architectures that do not have
a rustc.
This could be solved by encoding the build profiles in the
dpkg vendor module instead, but it may also be beneficial
to be able to experiment more and have local builds try
to build with everything.