* gnu/packages/rust.scm (rust): Update to 1.93.
[arguments]: Remove phase enabling gdb to work. Adjust the phases
skipping some tests. Adjust the 'build and 'install phases to not
specify needing to build and install rust-analyzer-proc-macro-srv.
Change-Id: Ib4c46b28445bc6cce7dadf6b882d77373c53f75c
Fixes: guix/guix#5792.
* gnu/packages/rust.scm (rust)[arguments]: Update disallowed-references.
Add a phase to rewrite references from the input cargo to the output
cargo.
(make-rust-sysroot/implementation)[arguments]: Remove new phase.
Change-Id: Ice6abdf18cba8eb042bfc37025ce0e7686623e46
* gnu/packages/rust.scm (make-rust-sysroot/implementation)[arguments]:
Adjust the mingw specific phases to update for the newer rust version.
Change-Id: I406d0d417b016567639533a392de7832646d2763
* gnu/packages/rust.scm (rust): Update to 1.90.
[source]: Delete field.
[#:modules]: Add (srfi srfi-26).
[#:phases] {disable-tests-using-cargo-publish}: Register new tests to disable.
{patch-process-tests}: Adjust for file name change.
{unpack-libunwind}: New phase.
{patch-cargo-checksums}: Override phase.
[inputs]: Delete field.
[native-inputs]: Update clang-source to that of clang-runtime-21.
Change-Id: I711e05ee889f4ba266d31e8c6bc9e73c112e99f3
This fixes build failures in recent Rust 1.89 and later, and also
reduces the output size of each Rust by about 10%.
* gnu/packages/rust.scm (rust-bootstrap-1.54)
[#:phases] {install}: Use with-directory-excursion.
(rust-bootstrap-1.74): Do not install .rmeta files.
(rust-1.55): [#:phases] {install}: Do not install .rmeta and
rustlib/librustc_driver shared object files.
(rust-1.75): Likewise.
Change-Id: I718fc8e924b85867720fc2d343b41c8c4b7935b3
This reverts commit a7db92d9b3, this time with
the more careful command, to avoid a world rebuild:
grep -rl --exclude-dir=build --exclude-dir=patches --exclude=ld-wrapper.in \
--exclude=sitecustomize.py --exclude=guix-emacs.el maxim.cournoyer@gmail.com |
xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g'
Change-Id: I0871f5cf9ace79e34e78e24154d0da6ea95a3a91
The change was automated via:
git grep -l maxim.cournoyer@gmail.com |
xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g'
* .mailmap: New entry.
Change-Id: Iaa88b1e51c94159c49138fb43910badb990eb169
* gnu/packges/rust.scm (rust-1.75)[arguments]: When building with
rust-bootstrap-1.74 add the add-cc-shim-to-path phase.
[native-inputs]: Build with rust-bootstrap-1.74 on platforms which have
support.
[inputs]: Replace llvm-15 with llvm-17.
(rust-1.76)[arguments]: Remove added add-cc-shim-to-path phase.
[inputs]: Don't replace llvm.
Change-Id: I3bbf5c6dd64617bdd100cc274fe754ffc1325223
* gnu/packages/rust.scm (%mrustc-source): Update to 0.11.2-1.06b87d1.
[source]: Adjust snippet to allow for more compression types.
Co-authored-by: Morgan Smith <Morgan.J.Smith@outlook.com>
Change-Id: Icaa193451c72dfb41b1c87e9e40cfbcccc8aa152
This is apparently not the correct action.
* gnu/packages/rust.scm (rust)[arguments]: Adjust the custom
'wrap-rust-analyzer phase to not wrap rust-analyzer with
rust-analyzer-proc-macro-srv.
Change-Id: I71e284f209a87b4c23c0657b564ab10de05e0937
* gnu/packages/rust.scm (rust)[arguments]: Adjust the custom
'disable-tests-broken-on-riscv64 phase for tests broken on
riscv64-linux.
Change-Id: I6ffd451c75b45351a94cc07c5f4cf2db665aeef7
* gnu/packages/rust.scm (rust)[arguments]: Adjust the custom
'disable-tests-broken-on-aarch64 phase for tests broken on
aarch64-linux.
Change-Id: I2ecad6134612e9558adea148b879b9a00aac12c6
* gnu/packages/rust.scm (rust): Update to 1.84.
[source]: Adjust snippet for directories to delete.
[arguments]: Only add 'disable-tests-broken-on-aarch64 phase for
aarch64. Adjust other test modifying phases for changes in the test
suite.
[native-inputs]: Replace the clang-runtime sources from 17 to 19.
[properties]: Update the llvm cpu architecture.
Change-Id: I17a357534d168d87f11f497b25c297003bb76f2a
* gnu/packages/rust.scm (rust)[arguments]: Adjust the custom
'remove-uninstall-script phase to not install the uninstall script in
any output.
Change-Id: I8be03d0badabb587668a7b44758702f3e17d2654
* gnu/packages/rust.scm (rust)[arguments]: Build proc-macro-srv-cli
during the 'build phase. Adjust the 'install phase to manually install
rust-analyzer-proc-macro-srv. Adjust the 'wrap-rust-analyzer phase to
give the path to rust-analyzer-proc-macro-srv.
Change-Id: I6b8dcdca20183551a576fe2f0f5dd50dbe99d08c
* gnu/packages/rust.scm (%mrustc-commit): Update to newest commit.
(%mrustc-source): Update to 0.11.0-1.5e01a76. Add a patch. Adjust the
snippet to not use vendored openssl.
(rust-bootstrap)[source]: Remove patch, remove patch-flags. Add to the
snippet a substitution for compatibility with llvm-13.
[inputs]: Remove input labels. Remove conditional use of clang.
[arguments]: Allow parallel building on all architectures. Update the
make-flags. Replace the 'unpack phase to unpack the mrustc sources.
Delete the custom 'set-mrustc-sources and 'patch-cargo-checksum phases.
Adjust the custom 'patch-makefiles phase. Adjust the 'configure and
'build phases to no longer use clang on some architectures.
* gnu/packages/patches/mrustc-patches.patch: New file.
* gnu/packages/patches/rustc-1.54.0-src.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Update it.
Change-Id: I7e444abe4b386b1bb77f05a278ddef45152ddb3c
This should help reduce the number of times rebuilding the rust bootstrap
chain from scratch is needed when updating packages.
* gnu/packages/rust.scm (rust-1.55) [native-inputs]: Replace python-wrapper
with python-minimal-wrapper.
Change-Id: I92c88192c75353b22f374d5c301776d2bcc6b1db
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu/packages/rust.scm (rust-bootstrap)[arguments]: Change
parallel-build? to be false on all architectures.
Change-Id: I36aa984f9d47e01d35270423dbf44d57182854f0
* gnu/packages/rust.scm (make-rust-sysroot/implementation)
[native-inputs]: Combine the different modify-input branches into one.
Change-Id: Ia7df5d1566099f9934a76b2660f46a55547c88b9
* gnu/packages/rust.scm (make-rust-sysroot/implementation)[arguments]:
Adjust the custom 'patch-for-mingw phase to generate the name of the
mingw input package based on the target architecture.
[inputs, native-inputs]: Use make-mingw-w64 to choose the mingw package
for the target.
Change-Id: I48638095a504675753e65fdb6f0286c31cebde66
gnu/packages/rust.scm (rust-1.81)[source]: Add patch to fix bootstrap of
1.82 on riscv64.
gnu/packages/rust.scm (rust-1.82): New variable.
gnu/packages/rust.scm (rust): Update to 1.82.
[source]: Update snippet for newer version.
[arguments]: Disable more tests in the 'disable-tests-requiring-crates.io
phase.
Change-Id: If6ff59011edca7a230946a3ba77b51f26cd47789
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>