aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/rust.scm
Commit message (Collapse)AuthorAge
* gnu: rust: Move rust-1.19 down.Danny Milosavljevic2018-09-02
|
* gnu: rust: Bootstrap (only) Rust 1.19.0 by mrustc.Danny Milosavljevic2018-09-02
| | | | | | | | | | | | | | * gnu/packages/patches/rust-1.19-mrustc.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/rust.scm (rust-1.19)[source]: Add patch "rust-1.19-mrustc.patch". [arguments]<#:modules>: New field. <#:phases>[patch-cargo-tomls]: New phase. <#:phases>[build]: Modify. <#:phases>[install]: Modify. [native-inputs]: Replace rust-bootstrap by mrustc. (rust-1.23)[native-inputs]: New field. [arguments]<#:phases>: Delete phase "patch-cargo-tomls".
* gnu: mrustc: Update to 0.8.0.Danny Milosavljevic2018-08-09
| | | | * gnu/packages/rust.scm (mrustc): Update to 0.8.0.
* gnu: mrustc: Update to 0.8-1.ec907f5.Danny Milosavljevic2018-08-07
| | | | | * gnu/packages/rust.scm (mrustc): Update to 0.8-1.ec907f5. [arguments]<#:phases>[patch-date]: New phase.
* gnu: rust@1.25: Fix build on aarch64-linux.Efraim Flashner2018-07-15
| | | | | * gnu/packages/rust.scm (rust@1.25)[arguments]: Replace inherited custom 'patch-aarch64-test phase. Make sure all phases return #t.
* gnu: rust@1.19: Don't make public.Efraim Flashner2018-07-15
| | | | * gnu/packages/rust.scm (rust@1.19): Don't make it a public variable.
* gnu: rust: Update to 1.27.0.Nikolai Merinov2018-07-10
| | | | | | | * gnu/packages/rust.scm (rust): Rename to... (rust-1.26): ...this. (rust): New variable. * gnu/packages/patches/rust-bootstrap-stage0-test.patch: New file.
* gnu: rust: Support build with glibc-2.27; update to 1.26.2.Nikolai Merinov2018-07-10
| | | | | | | | | | | | | | | * gnu/packages/rust.scm (rust-source): Add "patches" argument. (rust-bootstrapped-package): Add "patches" argument. (rust-1.19)[arguments]<#:phases>[patch-tests]: Modify. [arguments]<#:phases>[patch-aarch64-test]: New phase. [arguments]<#:phases>[use-readelf-for-tests]: New phase. [arguments]<#:phases>[remove-unsupported-tests]: New phase. (rust-1.23): Disable "run-pass/out-of-stack.rs" test. (rust-1.24)[arguments]<#:phases>[patch-aarch64-test]: Replace. (rust-1.25)[inputs]: Switch to LLVM 6.0. (rust-1.25)[arguments]<#:phases>[enable-codegen-tests]: New variable. (rust): New variable. * gnu/packages/patches/rust-coresimd-doctest.patch: New file.
* gnu: rust: Fix build for armhf and mips64el.Mark H Weaver2018-06-03
| | | | | | | | This is a followup to commit 514026d7de36b299238aff9dfcc2f898fb04072a. * gnu/packages/rust.scm (nix-system->gnu-triplet-for-rust): New variable. (rust-bootstrap, mrustc, rust-1.23): Use 'nix-system->gnu-triplet-for-rust' instead of 'nix-system->gnu-triplet'.
* gnu: rust: Add support for building 32-bit packages on 64-bit hosts.Robin Templeton2018-06-01
| | | | | | | | | | * gnu/packages/rust.scm (rust-bootstrap, rust-1.23): Use nix-system->gnu-triplet to determine the system type. (rust-1.19): Use readelf instead of nm in the atomic-lock-free test. (rust-1.23): Disable the cargo_test_env test. Disable parallel execution of tests. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: rust: Fix typo.Marius Bakke2018-05-26
| | | | * gnu/packages/rust.scm (rust-bootstrap)[description]: s/manaer/manager.
* gnu: mrustc: Update to 0.0.0-3.b5b7089.Danny Milosavljevic2018-05-25
| | | | * gnu/packages/rust.scm (mrustc): Update to 0.0.0-3.b5b7089.
* gnu: mrustc: Update to 0.0.0-2.ee65f12.Danny Milosavljevic2018-05-18
| | | | | * gnu/packages/rust.scm (mrustc): Update to 0.0.0-2.ee65f12. [arguments]<#:phases>[configure]: New phase.
* gnu: rust: Do not refer to 'gcc' from the top level.Ludovic Courtès2018-05-10
| | | | | | | | | Fixes <https://bugs.gnu.org/31392>. Reported by Marius Bakke <mbakke@fastmail.com>. * gnu/packages/rust.scm (rust-1.19)[native-search-paths]: Avoid top-level reference to 'gcc', which could lead to unbound variable errors.
* gnu: rust: Skip test_loading_cosine test.Efraim Flashner2018-04-18
| | | | | | | * gnu/packages/rust.scm (rust-1.19.0)[arguments]: Modify custom 'patch-tests phase to skip test_loading_cosine test. (rust-1.24.0)[arguments]: Modify inherited 'patch-tests to point to updated code locations.
* gnu: mrustc: Update to 0.0.0-1.4f98e43.Danny Milosavljevic2018-04-17
| | | | * gnu/packages/rust.scm (mrustc): Update to 0.0.0-1.4f98e43.
* gnu: rust: Disable test_process_mask tests.Danny Milosavljevic2018-04-16
| | | | * gnu/packages/rust.scm (rust-1.19): Disable test_process_mask tests.
* gnu: rust: Don't build for "native" arch on ARM.Efraim Flashner2018-04-16
| | | | * gnu/packages/rust.scm (rust-1.23)<#:phases>[dont-build-native]: New phase.
* gnu: rust: Don't #ignore the same test twice.Danny Milosavljevic2018-04-16
| | | | | * gnu/packages/rust.scm (rust-1.19)[arguments]<#:phases>[patch-tests]: Don't #ignore the same test twice.
* gnu: Add mrustc.Danny Milosavljevic2018-04-16
| | | | * gnu/packages/rust.scm (mrustc): New variable.
* gnu: rust: Update to 1.24.0.Nikolai Merinov2018-04-16
| | | | | | * gnu/packages/rust.scm (rust): Rename to... (rust-1.24): ...this. (rust): New variable.
* gnu: rust: Enable more tests.Nikolai Merinov2018-04-16
| | | | | | * gnu/packages/rust.scm (rust-1.19)[arguments]<#:phases>[set-env]: Modify. (rust-1.23)<#:phases>[patch-cargo-tests]: New phase. (rust-1.23)<#:phases>[check]: Enable more tests.
* gnu: Factorize rust-bootstrapped-package.Danny Milosavljevic2018-04-15
| | | | | * gnu/packages/rust.scm (rust-bootstrapped-package): New procedure. (rust): Use rust-bootstrapped-package.
* gnu: Add rust@1.19.0.Danny Milosavljevic2018-04-15
| | | | | | | | | | * gnu/packages/rust.scm (rust-1.23)[build-system, native-inputs, inputs, native-search-paths, synopsis, description, home-page, license]: Move to... (rust-1.19): ... here. New variable. (rust-1.23)[arguments]<#:phases>[set-env, patch-tests, patch-cargo-checksums]: Move to... (rust-1.19): ... here. (rust-1.19)[arguments]<#:phases>[configure, check, install]: Replace by no-op.
* gnu: rust: Update rust to 1.24.1.Nikolai Merinov2018-03-30
| | | | | | | | | | | | | | | | | | * gnu/packages/rust.scm (rust-bootstrap): Freeze bootstrap version to 1.22.1. Reorganize bootstrap binaries to match new "rust" package structure with two ouputs "out" with Rust compiler and "cargo" with Cargo package manager. Replace all "system*" by "invoke". (rust-1.23): Rename "rustc" to "rust". Update sha256 for tarball. Add cargo related dependencies. Install "cargo" as separate "rust" output. Remove substitutes for parts that were fixed in "rustc" source code. Install documentation to separate "doc" output. Update configuration according to changes in "rustc" source code. Replace all "system*" by "invoke". (rust): Create package for 1.24.1 rust release based on rust-1.23 release. * guix/build-system/cargo.scm (default-rust): Replace "default-cargo" and "default-rustc" functions with "default-rust" function. (cargo-build-system): Take only one package as "rust" source. Use "rustc" of default output of "rust" package, use "cargo" as "cargo" output of "rust" package.
* Correct name and Email for ng0.ng02018-03-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * .mailmap: Correct name and Email for ng0. * Makefile.am, doc/guix.texi, etc/completion/fish/guix.fish gnu/packages/accessibility.scm, gnu/packages/admin.scm, gnu/packages/audio.scm, gnu/packages/autotools.scm, gnu/packages/cdrom.scm, gnu/packages/check.scm, gnu/packages/cinnamon.scm, gnu/packages/compression.scm, gnu/packages/crypto.scm, gnu/packages/databases.scm, gnu/packages/django.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm, gnu/packages/enlightenment.scm, gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/forth.scm, gnu/packages/fvwm.scm, gnu/packages/games.scm, gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm, gnu/packages/haskell-check.scm, gnu/packages/haskell-crypto.scm, gnu/packages/haskell.scm, gnu/packages/image-viewers.scm, gnu/packages/image.scm, gnu/packages/irc.scm, gnu/packages/language.scm, gnu/packages/libcanberra.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm, gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm, gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm, gnu/packages/ncurses.scm, gnu/packages/networking.scm, gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm, gnu/packages/perl-check.scm, gnu/packages/perl.scm, gnu/packages/python-crypto.scm, gnu/packages/python-web.scm, gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm, gnu/packages/rust.scm, gnu/packages/scheme.scm, gnu/packages/serialization.scm, gnu/packages/shells.scm, gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm, gnu/packages/telephony.scm, gnu/packages/text-editors.scm, gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm, gnu/packages/tor.scm, gnu/packages/version-control.scm, gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm, gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm, gnu/services/desktop.scm, gnu/services/version-control.scm, gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm: Likewise. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
* gnu: cargo-version: Fix URI in comment.Tobias Geerinckx-Rice2018-01-29
| | | | | | | | The table of corresponding cargo and rustc versions was removed from cargo's HEAD for being outdated, but still illustrates the pattern. * gnu/packages/rust.scm (cargo-version): Link to an older README.md revision.
* gnu: cargo: Add file-name field to input sources.Efraim Flashner2017-12-11
| | | | | * gnu/packages/rust.scm (cargo)[inputs]: Add 'file-name' field to all source inputs.
* gnu: rust: Add support for all platforms.Efraim Flashner2017-12-11
| | | | | | * gnu/packages/rust.scm (%rust-bootstrap-binaries): Add entries for all platforms supported by Guix. (rustc-bootstrap, cargo-bootstrap)[supported-systems]: Remove field.
* gnu: %rust-bootstrap-binaries: Add missing catch-all entry.Efraim Flashner2017-12-11
| | | | | * gnu/packages/rust.scm (%rust-bootstrap-binaries): Add missing catch-all entry to prevent various errors in Guix.
* gnu: rust: Update rust to 1.22.1 and cargo to 1.23.0.Nikolai Merinov2017-12-11
| | | | | | | | | | | | | | | | * gnu/packages/rust.scm (%rust-bootstrap-binaries-version): Update version. (%rust-bootstrap-binaries): Use x86_64 rust bootstrap package for x86_64 build. (%cargo-reference-project-file): Use specific file as "project" file when patching rust vendored sources. (%cargo-reference-hash): sha256 sum for %cargo-reference-project-file. (rustc-bootstrap): Use bootstrap package with host architecture. (cargo-bootstrap): Use bootstrap package with host architecture. (rustc): Add new test dependency, fix build issues, use "./x.py" script for build instead of "./configure". (cargo): Update dependencies, patch shebangs for vendored sources * gnu/packages/jemalloc.scm: Add jemalloc-4.5.0 release. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
* Update email address for ng0.ng02017-11-19
|
* gnu: rustc: Enable tests.Danny Milosavljevic2017-06-20
| | | | | | | * gnu/packages/rust.scm (rustc)[source]: Remove bundled llvm. [native-inputs]: Add bison, flex, procps. [inputs]: Update llvm to llvm-3.9.1. [arguments]: Patch and enable tests.
* gnu: cargo: Simplify unpacking.Danny Milosavljevic2017-04-21
| | | | | | | | | | | | | Fixes <http://bugs.gnu.org/26166>. * gnu/packages/rust.scm (cargo) [arguments]<:modules>: Add (srfi srfi-1). [arguments]<:phases>: Adapt 'unpack-submodule-sources' phase to more clearly seperate the tasks it does. Add helper procedures 'unpack', 'touch', 'install-rust-library'. [arguments]<:phases>: Rename 'set-cargo-home' to 'set-environment-up' and make it use official cargo directories. [arguments]<:phases>: Remove 'configure' phase.
* gnu: rustc: Update to 1.16.0. gnu: cargo: Update to 0.17.0.Danny Milosavljevic2017-04-10
| | | | | | | | | | | | | | * gnu/packages/rust.scm (rustc): Update to 1.16.0. patch-configure: Patch LLVM references. (cargo): Update to 0.17.0. [native-inputs]: Update rust-openssl to 0.9.6. Update rust-libssh2-sys 0.2.5. Update rust-libz-sys 1.0.13. Add rust-error-chain 0.7.2. Add rust-metadeps 1.1.1. Update rust-openssl-sys 0.9.6. Update rust-libgit2-sys to 0.6.6. Add rust-shell-escape 0.1.3.
* gnu: rustc: Simplify configure phase.Danny Milosavljevic2017-03-23
| | | | * gnu/packages/rust.scm (rustc): Simplify configure phase.
* gnu: rustc: Honor max line length.Danny Milosavljevic2017-03-22
| | | | | * gnu/packages/rust.scm (rustc)[arguments]: patch-tests: Honor max line length.
* gnu: rustc: End resultless phases in #t.Danny Milosavljevic2017-03-22
| | | | * gnu/packages/rust.scm (rustc): End resultless phases in #t.
* gnu: rustc: Fix process test.Danny Milosavljevic2017-03-18
| | | | | * gnu/packages/rust.scm (rustc)[arguments]: Rename 'patch-lockfile-test to 'patch-tests. Add another substitution.
* gnu: cargo: Use upstream cargo.Danny Milosavljevic2017-03-17
| | | | * gnu/packages/rust.scm (cargo): Use upstream cargo.
* gnu: rust: Update to 1.15.0.Danny Milosavljevic2017-03-17
| | | | | | | * gnu/packages/rust.scm (%rust-bootstrap-binaries-version): Update to 1.14.0. (%rust-bootstrap-binaries): Update to 1.14.0. (rustc): Update to 1.15.0. [arguments]: Pass "--disable-rustbuild" to configure.
* gnu: rustc: Add native-search-paths.Ben Woodcroft2017-02-10
| | | | | | * gnu/packages/rust.scm (rust)[native-search-paths]: New field. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
* gnu: rustc: Retain binutils.David Craven2017-01-09
| | | | | | | * gnu/packages/rust.scm (rustc)[arguments]: Retain binutils. Add wrap-rustc phase. Problem reported by Ben Woodcroft <donttrustben@gmail.com>.
* build-system: cargo: Use correct cargo.David Craven2017-01-04
| | | | | * gnu/packages/rust.scm (cargo-bootstrap): Make private. * guix/build-system/cargo.scm (default-cargo): Use cargo.
* gnu: Add cargo.David Craven2017-01-04
| | | | * gnu/packages/rust.scm (cargo): New variable.
* gnu: rustc: Update to 1.14.0.ng02016-12-29
| | | | | | | * gnu/packages/rust.scm (rustc): Update to 1.14.0. %rust-bootstrap-binaries: Update to 1.13.0. Signed-off-by: David Craven <david@craven.ch>
* gnu: Add rustc.David Craven2016-12-14
| | | | | | * gnu/packages/rust.scm (rustc): New variable. Co-authored-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
* gnu: Add rust bootstrap binaries.David Craven2016-12-14
* gnu/packages/rust.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add rust.scm.