* gnu/packages/rust.scm (rust-1.45): New variable.
* gnu/packages/patches/rust-1.45-linker-locale.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add the patch to the list.
All packages are still built with rustc 1.37, but users will see rustc
1.38 in their profiles, and packages that require newer compiler
versions will be possible to add.
* gnu/packages/rust.scm (rust-1.31): Factor out the
patch-command-exec-tests phase to a separate procedure.
(patch-command-exec-tests-phase): New procedure.
(rust): Rename to rust-1.37, make rust an alias.
(rust-1.38): New variable.
This is a follow-up to e07b04882a.
* gnu/packages/rust.scm (rust@1.19, rust@1.32)[arguments]: When using
functions from (guix build cargo-utils), make sure to include said
module in that build phase.
* gnu/packages/rust.scm (rust@1.19)[arguments]: During custom
'patch-cargo-checksums phase, replace call to 'generate-checksums' with
call to 'generate-all-checksums'.
(rust@1.32)[arguments]: Same.
* gnu/packages/rust.scm (rust-source): Rename to...
(rust-source-pre-1.32): ...this. Add PATCH-FLAGS.
(rust-bootstrapped-package): Rename to...
(rust-bootstrapped-package-pre-1.32): ...this.
(rust-source): New procedure.
(rust-bootstrapped-package): New procedure.
(mrustc): Use rust-bootstrapped-package-pre-1.32.
(rust-1.19): Use rust-bootstrapped-package-pre-1.32.
(rust-1.20): Use rust-bootstrapped-package-pre-1.32.
(rust-1.21): Use rust-bootstrapped-package-pre-1.32.
(rust-1.22): Use rust-bootstrapped-package-pre-1.32.
(rust-1.23): Use rust-bootstrapped-package-pre-1.32.
(rust-1.24): Use rust-bootstrapped-package-pre-1.32.
(rust-1.25): Use rust-bootstrapped-package-pre-1.32.
(rust-1.26): Use rust-bootstrapped-package-pre-1.32.
(rust-1.27): Use rust-bootstrapped-package-pre-1.32.
(rust-1.28): Use rust-bootstrapped-package-pre-1.32.
(rust-1.29): Use rust-bootstrapped-package-pre-1.32.
(rust-1.30): Use rust-bootstrapped-package-pre-1.32.
(rust): Use rust-bootstrapped-package-pre-1.32.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>