stable rust
stable rust
Posted Aug 13, 2024 5:49 UTC (Tue) by tzafrir (subscriber, #11501)Parent article: COSMIC desktop makes its debut
Posted Aug 13, 2024 8:02 UTC (Tue)
by hunger (subscriber, #36242)
[Link] (5 responses)
You get self-contained binaries that are statically linked one way or the other.
Posted Aug 13, 2024 9:27 UTC (Tue)
by tzafrir (subscriber, #11501)
[Link] (4 responses)
Posted Aug 13, 2024 10:24 UTC (Tue)
by hunger (subscriber, #36242)
[Link] (3 responses)
In the end cargo will download the same SHA from crates.io... either on your system, on the system of somebody vendoring all dependencies into one tarball to ship as part of the package build sources of cosmic-randr or as part of a package for each of the dependencies when those are packaged by the distribution
In all cases the same code will end up in one self-contained, statically linked binary. The user of that binary will not need any of the sources of the dependencies. It really does not matter whether those are packaged or not.
I really see no point whatsoever to package any library crate... they are just source code, nothing more. You do not insist on someone packaging header-only libraries in C or C++ either, do you?
Posted Aug 13, 2024 10:50 UTC (Tue)
by mbukatov (subscriber, #96216)
[Link]
Why not? Fedora does that: https://docs.fedoraproject.org/en-US/packaging-guidelines...
Posted Aug 13, 2024 12:40 UTC (Tue)
by tzafrir (subscriber, #11501)
[Link] (1 responses)
A quick search in Debian shows many librust-$foo-dev packages.
Posted Aug 13, 2024 15:51 UTC (Tue)
by hunger (subscriber, #36242)
[Link]
stable rust
stable rust
stable rust
stable rust
stable rust
stable rust