summaryrefslogtreecommitdiff
path: root/gnu/packages/rust.scm
AgeCommit message (Expand)Author
2023-11-28gnu: rust: Allow using custom rust-src for rust-analyzer....* gnu/packages/rust.scm (rust)[arguments]: Rewrite 'wrap-rust-analyzer phase to allow using a custom RUST_SRC_PATH. Change-Id: Id811bc8d09c0f955ece9c9e6267a0ae96e61f105 Efraim Flashner
2023-11-28gnu: rust-analyzer: Move to rust.scm....* gnu/packages/rust-apps.scm (rust-analyzer): Move ... * gnu/packages/rust.scm (rust-analyzer): ... to here. Change-Id: I24db3731370f6e798b919409a32abec4a115c913 Efraim Flashner
2023-11-28gnu: Remove rust-src-1.64....* gnu/packages/rust.scm (rust-src-1.64): Remove variable. Change-Id: I88f7ebed18e478f3982cad3c8586cff64dada1bb Efraim Flashner
2023-11-28gnu: rust: Update to 1.73.0....* gnu/packages/rust.scm (rust): Update to 1.73.0. [arguments]: Add phase to skip some tests using cargo publish. Change-Id: I3b0539ce036805f606bfbc1a1bba98a95d4a22fe Efraim Flashner
2023-10-23gnu: Add rust-1.73....* gnu/packages/rust.scm (rust-1.73): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Change-Id: I97ab62112cd9386427d3cf8f9f6e1700492966b1 Herman Rimm
2023-10-18gnu: Add rust-1.72....* gnu/packages/rust.scm (rust-1.72): New variable. Efraim Flashner
2023-10-18gnu: Add rust-1.71....* gnu/packages/rust.scm (rust-1.71): New variable. Efraim Flashner
2023-10-18gnu: rust: Fix test failures on some architectures....* gnu/packages/rust.scm (rust)[arguments]: Adjust custom phase 'patch-process-tests to enable tests to pass on all architectures. Efraim Flashner
2023-10-18gnu: rust: Wrap rust-analyzer with rust source....* gnu/packages/rust.scm (rust)[outputs]: Add rust-src output. [arguments]: Add a phase to install the rust sources and a phase to wrap the rust-analyzer binary with the path to the rust sources. Efraim Flashner
2023-10-18gnu: rust: Build more tools....* gnu/packages/rust.scm (rust)[outputs]: Rename 'rustfmt' output to 'tools'. [arguments]: Adjust 'build, 'check and 'install phases to also provide clippy and rust-analyzer. Efraim Flashner
2023-10-18gnu: rust: Update to 1.70.0....* gnu/packages/rust.scm (rust): Update to 1.70.0. [arguments]: Remove 'patch-cargo-env-shebang phase. Adjust custom phases 'disable-tests-requiring-git, disable-tests-requiring-mercurial, 'patch-command-uid-gid-test for changes in the source. Simplify custom phases 'disable-tests-broken-on-aarch64, 'patch-process-tests, 'patch-command-exec-tests, 'disable-interrupt-tests. Efraim Flashner
2023-10-18gnu: rust: Add make-ignore-test-list function....A little helper function to make creating a list to ignore tests easier. * gnu/packages/rust.scm (make-ignore-test-list): New function. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Fries
2023-10-18gnu: Add rust-1.70....* gnu/packages/rust.scm (rust-1.70): New variable. * gnu/packages/patches/rust-1.70-fix-rustix-build.patch: New file. * gnu/local.mk (dist_patch_DATA): Register file. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Fries
2023-10-18gnu: Add rust-1.69....* gnu/packages/rust.scm (rust-1.69): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Fries
2023-09-16gnu: rust-1.55: Remove i586-gnu from supported-systems....* gnu/packages/rust.scm (rust-1.55)[supported-systems]: Remove i586-gnu. Christopher Baines
2023-09-09gnu: rust-analyzer: Fix build of version 2022-01-10....* gnu/packages/rust-apps.scm (rust-analyzer): Update dependency rust-notify-5-pre.13. This fixes the build of `rust-analyzer@2022-01-10`, which required a pinned version of `rust-notify` (`rust-notify-5-pre.13`) to compile and rust >= 1.64. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Distopico
2023-08-14gnu: rust: Update to 1.68.2....* gnu/packages/rust.scm (rust): Update to 1.68.2. [arguments]: Adjust 'skip-shebang-tests phase to moved files. Add 'adjust-rpath-values phase to link to shared libraries. Efraim Flashner
2023-05-09Revert "gnu: rust-bootstrap: Remove aarch64 as a supported architecture."...This reverts commit c56d57110de1412d3529940d4f856611d123da66. rust-bootstrap *IS* supported on aarch64-linux, and the build farm will catch up eventually. Efraim Flashner
2023-05-09gnu: rust-bootstrap: Remove aarch64 as a supported architecture....This is so that we can merge the branch, building rust for aarch64-linux on CI is very time intensive. * gnu/packages/rust.scm (rust-bootstrap)[supported-systems]: Remove aarch64-linux. Efraim Flashner
2023-05-07gnu: rust: Re-enable aarch64-linux support....* gnu/packages/rust.scm (rust)[arguments]: Only enable parallel-builds on x86_64-linux. Add a make-flag to adjust CFLAGS. In the custom 'build phase remove an unneeded environment variable. [supported-architectures]: Add aarch64-linux. Efraim Flashner
2023-05-07gnu: rust-1.68: Update to 1.68.2....* gnu/packages/rust.scm (rust-1.68): Update to 1.68.2. Efraim Flashner
2023-05-07gnu: rust: Disable tests that fail on aarch64....* gnu/packages/rust.scm (rust)[arguments]: Add phase 'disable-tests-broken-on-aarch64. Ricardo Wurmus
2023-05-07Revert "gnu: rust: Remove more bundled sources."...This reverts commit 7e777d70e67cc90f019988aa2af68bbf1fe25c00. This makes it impractical to update several libraries without a rust rebuild. Since rust doesn't retain a reference to these libraries it isn't clear that this is the best choice. Efraim Flashner
2023-05-07gnu: Add rust-1.68....* gnu/packages/rust.scm (rust-1.68): New variable. Efraim Flashner
2023-05-07gnu: rust: Remove more bundled sources....* gnu/packages/rust.scm (rust)[source]: Adjust snippet to remove more bundled sources. [arguments]: Add a phase to set flags to use more system libraries. [inputs]: Add curl, libgit2, libssh, xz, zlib. Efraim Flashner
2023-05-07gnu: rust-1.61: Remove riscv64-linux jemalloc workaround....* gnu/packages/rust.scm (rust-1.61)[source]: Adjust snippet to remove workaround for jemalloc library. Efraim Flashner
2023-05-07gnu: rust-1.55: Remove bundled libraries....* gnu/packages/rust.scm (rust-1.55)[source]: Adjust snippet to remove bundled libraries. Efraim Flashner
2023-05-07gnu: rust-bootstrap: Remove bundled libraries....* gnu/packages/rust.scm (rust-bootstrap)[source]: Adjust snippet to remove bundled libraries. Efraim Flashner
2023-05-07gnu: rust: Fix test suite on some architectures....* gnu/packages/rust.scm (rust)[arguments]: In the custom 'patch-process-tests phase rewrite the logic for skipping some tests so that it doesn't cause errors on aarch64-linux or riscv64-linux. Efraim Flashner
2023-05-07gnu: rust-1.67: Build with llvm-15....* gnu/packages/rust.scm (rust-1.67)[inputs]: Replace llvm with llvm-15. Efraim Flashner
2023-05-07gnu: rust-1.55: Explicitly use llvm-13....* gnu/packages/rust.scm (rust-1.55)[inputs]: Clarify llvm is llvm-13. Efraim Flashner
2023-05-07gnu: rust-bootstrap: Explicitly use llvm-13....* gnu/packages/rust.scm (rust-bootstrap)[inputs]: Clarify llvm is explicitly llvm-13. Efraim Flashner
2023-05-07gnu: rust: Update to 1.67....* gnu/packages/rust.scm (rust): Update to 1.67. [arguments]: Add a phase to skip tests requiring mercurial. Extend the custom 'patch-process-tests phase. (rust-1.64)[arguments]: Adjust 'patch-cargo-checksums phase to patch another file. * guix/build/cargo-build-system.scm (package): Adjust to remove Cargo.toml.orig file if it exists. Efraim Flashner
2023-05-07gnu: Add rust-1.67....* gnu/packages/rust.scm (rust-1.67): New variable. Efraim Flashner
2023-05-07gnu: Add rust-1.66....* gnu/packages/rust.scm (rust-1.66): New variable. Efraim Flashner
2023-05-07gnu: rust: Remove bundled compiled libraries....* gnu/packages/rust.scm (rust-bootstrap)[source]: Adjust snippet to also remove bundled pre-compiled shared libraries. (rust-1.55): Same. Efraim Flashner
2023-04-29gnu: rust: Disable support for aarch64-linux, riscv64-linux....Support is currently broken and blocks too many other packages. * gnu/packages/gnome.scm (librsvg-for-system): Only use librsvg on x86_64-linux. * gnu/packages/rust.scm (rust-bootstrap)[supported-systems]: Remove aarch64-linux, riscv64-linux. Efraim Flashner
2023-04-18gnu: gdb: Distinguish between the "pinned" and the "default" version....* gnu/packages/gdb.scm (gdb/pinned): New variable. * gnu/packages/rust.scm (rust)[native-inputs]: Use it instead of GDB. Ludovic Courtès
2023-03-02Merge remote-tracking branch 'savannah/master' into core-updates...Conflicts: gnu/local.mk gnu/packages/autotools.scm gnu/packages/cmake.scm gnu/packages/gnuzilla.scm gnu/packages/haskell.scm gnu/packages/pdf.scm gnu/packages/python-xyz.scm gnu/packages/samba.scm gnu/packages/tex.scm gnu/packages/tls.scm gnu/packages/wxwidgets.scm Christopher Baines
2023-02-16gnu: Remove unneeded module imports....* gnu/packages/abiword.scm, * gnu/packages/ada.scm, * gnu/packages/agda.scm, * gnu/packages/backup.scm, * gnu/packages/barrier.scm, * gnu/packages/bioinformatics.scm, * gnu/packages/bootstrap.scm, * gnu/packages/bqn.scm, * gnu/packages/c.scm, * gnu/packages/chemistry.scm, * gnu/packages/coq.scm, * gnu/packages/cross-base.scm, * gnu/packages/databases.scm, * gnu/packages/emacs-xyz.scm, * gnu/packages/enlightenment.scm, * gnu/packages/games.scm, * gnu/packages/geo.scm, * gnu/packages/ghostscript.scm, * gnu/packages/gl.scm, * gnu/packages/golang.scm, * gnu/packages/jami.scm, * gnu/packages/java-maths.scm, * gnu/packages/kde-frameworks.scm, * gnu/packages/kde-plasma.scm, * gnu/packages/language.scm, * gnu/packages/libreoffice.scm, * gnu/packages/linphone.scm, * gnu/packages/lisp.scm, * gnu/packages/llvm.scm, * gnu/packages/machine-learning.scm, * gnu/packages/minetest.scm, * gnu/packages/monitoring.scm, * gnu/packages/nfs.scm, * gnu/packages/ocr.scm, * gnu/packages/opencl.scm, * gnu/packages/pdf.scm, * gnu/packages/python-xyz.scm, * gnu/packages/racket.scm, * gnu/packages/rust.scm, * gnu/packages/syncthing.scm, * gnu/packages/syndication.scm, * gnu/packages/telegram.scm, * gnu/packages/vulkan.scm, * gnu/packages/web-browsers.scm, * gnu/packages/web.scm, * gnu/packages/webkit.scm: Remove some unecessary module imports. Efraim Flashner
2023-01-30Merge remote-tracking branch 'origin/master' into core-updates... Conflicts: doc/guix.texi gnu/local.mk gnu/packages/admin.scm gnu/packages/base.scm gnu/packages/chromium.scm gnu/packages/compression.scm gnu/packages/databases.scm gnu/packages/diffoscope.scm gnu/packages/freedesktop.scm gnu/packages/gnome.scm gnu/packages/gnupg.scm gnu/packages/guile.scm gnu/packages/inkscape.scm gnu/packages/llvm.scm gnu/packages/openldap.scm gnu/packages/pciutils.scm gnu/packages/ruby.scm gnu/packages/samba.scm gnu/packages/sqlite.scm gnu/packages/statistics.scm gnu/packages/syndication.scm gnu/packages/tex.scm gnu/packages/tls.scm gnu/packages/version-control.scm gnu/packages/xml.scm guix/build-system/copy.scm guix/scripts/home.scm Efraim Flashner
2022-11-29gnu: rust-1.64: Fix building on riscv64-linux....* gnu/packages/rust.scm (rust-1.64)[source]: Add patch and patch-flags. (rust-1.65)[source]: Remove patch and reset patch-flags. * gnu/packages/patches/rust-1.64-fix-riscv64-bootstrap.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Efraim Flashner
2022-11-15gnu: Add rust-1.65....* gnu/packages/rust.scm (rust-1.65): New variable. Efraim Flashner
2022-11-15gnu: Add rust-1.64....* gnu/packages/rust.scm (rust-1.64): New variable. Efraim Flashner
2022-11-15gnu: Add rust-1.63....* gnu/packages/rust.scm (rust-1.63): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> kiasoc5
2022-11-15gnu: Add rust-1.62....* gnu/packages/rust.scm (rust-1.62): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> kiasoc5
2022-11-15gnu: Add rust-1.61....* gnu/packages/rust.scm (rust-1.61): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> kiasoc5
2022-10-20gnu: rust: Disable debug info to reduce build memory requirements....* gnu/packages/rust.scm (rust-1.55)[arguments]: In custom 'configure phase adjust rust's config.toml to disable debug info. Mark H Weaver
2022-10-20gnu: rust-bootstrap: Disable debug info during build....This dramatically reduces the memory required to build Rust, and also speeds up the build. * gnu/packages/rust.scm (mrustc)[source]: Add snippet to remove building debug info with mrustc. Mark H Weaver
2022-10-20gnu: mrustc: Update to 0.10.0-2.597593a....* gnu/packages/rust.scm (mrustc): Update to 0.10.0-2.597593a. [source]: Remove patch. (rust-bootstrap)[arguments]: Adjust custom 'patch-makefiles phase for changes in source. * gnu/packages/patches/mrustc-riscv64-support.patch: Remove file. * gnu/local.mk (dist_patch_DATA): Remove it. Efraim Flashner