On Tue, Oct 17, 2023 at 11:41:11AM -0400, Maxim Cournoyer wrote:
Toggle quote (22 lines)
> Hi Efraim,
>
> Efraim Flashner <efraim@flashner.co.il> writes:
>
> > IMO rust-team branch is ready to merge. We've updated rust to 1.70,
> > librsvg to 2.56.4 and many new and updated packages. We've added a phase
> > to the cargo-build-system to fail if it detects pre-built files and
> > we've set the cargo-build-system to skip the test phase by default,
> > allowing us to make sure that the packages have the correct inputs. With
> > these changes I've gotten 100% of the packages built using the
> > cargo-build-system to build successfully.
>
> This sounds good except I don't understand how disabling the tests by
> default help to "make sure that the packages have the correct inputs" ?
>
> You've explained the rationale here:
> <https://lists.gnu.org/archive/html/guix-devel/2023-10/msg00182.html>,
> saying we sometimes use a newer Rust than the package tests are
> expecting; how does it work in the Rust world? Don't they always build
> even older versions against the most recent compiler? What about the
> test suites then? Are these not typically run by users/distributions?
I've copied your questions to the thread above and answered them there
so we can keep the discussion in one place.
Toggle quote (4 lines)
> For one thing the 'guix lint' command would need to be told that
> cargo-build-system has #:tests? set to #f by default to not warn without
> reasons that '#:tests? #t' is unnecessary.
I've reverted it for now so we can get the rust-team branch merged and
continue discussing if this is a good idea or not.
--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmUvmRkACgkQQarn3Mo9
g1HN0Q/9FCUXHCwVTmGa23Hy1Fhb8nSEoQvBJT1cxXJmM5zJ7ARxIx/3v3lr01qv
g17YCugvl60RO15L7BhjOjIciJuYd9wZlGNUJPr6rxxF+PO7ar1+czpX54XI96tk
2MWd4m+relYfUBcpQk9JT/Gz+n7xZuwbwhtX4+evvvo59D57Rc11uOvvz+51EBoR
OD6VAJc910o8KtMBe0aAa3lAIJl1fJyeUEqflYYPqNxzlQWv6wCWIdMEY1SqbXar
uMRwt9r9NWmSteHGndb5uj76fv/sCLvgCpeoVKrEBxz/x2nvSPYaMO036xVs+utS
hIEE1k8+PT5I3VzzuuqE0VZafCAIJECcQYbC6MaFH+I2nrWjUlKfYMAyIZDqJrOA
Bhpb6EiZK9awqshmqd19K2pAnAXnF2iHXFx9EByMPP8ThOGbh99E4fVU8a0enxxC
YGlZK2gtQoyusOUtEu6ina/rQEOnT8HJ1Ww9/R3h+XE6xUmIJvc+3ENrCXin4pl/
IiwSSzyKJCMVpnLhG/RjNI9+yG1UZcmuCzwN3PLI36+O0CG2F5ouvuJC39iW7Kel
83jPqs54x+K5OsiClrKNHQzqvVLgOJHsv+iHRuxWp5rNRJ6eJc//JEwu5nwOOs7h
F75JUxqlvARFq3/Cn+nvZoCGTN0uXXo8iO6tI/shUOMTIFaoAfQ=
=u29A
-----END PGP SIGNATURE-----