summaryrefslogtreecommitdiff
path: root/gnu/packages/rust.scm
AgeCommit message (Collapse)Author
2018-10-30gnu: rust: Hide "ar" entry from rust@1.21.0.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.21)[arguments]<#:phases>[remove-ar]: New phase.
2018-10-30gnu: rust: Accept more detailed gdb lines for simple enums.Danny Milosavljevic
* gnu/packages/patches/rust-1.25-accept-more-detailed-gdb-lines.patch: Modify. * gnu/packages/rust.scm (rust-1.25)[arguments]<#:phases>[disable-nil-enum-test]: Delete phase.
2018-10-26gnu: rust: Update to 1.28.Nikolai Merinov
* gnu/packages/rust.scm (rust): Rename to... (rust-1.27): ... this. (rust): New variable.
2018-10-26gnu: rust: Work around rust 1.25...1.27 reproducibility issues.Nikolai Merinov
* gnu/packages/patches/rust-mdbook-support-reproducible-builds-by-forcing-window.search.patch: New file. * gnu/local.mk (dist_patch_DATA): Add new patch file. * gnu/packages/rust.scm (rust-1.19): Use system libssh2 library. during cargo build. Note: libgit2 still bundled, because cargo tests assume specific libgit2 minor release. (rust-1.23): Inherit native-inputs from previous package. (rust-1.25): Switch back to llvm 3.9.1 as workaround for https://github.com/rust-lang/rust/issues/50556 issue. (rust-1.27): Apply changes from https://github.com/rust-lang-nursery/mdBook/pull/692 to make generation of "searchindex.js" files reproducible. Disable cargo test that required llvm 6.
2018-09-22Revert 'gnu: rust: Remove unused "ar" setting.'.Danny Milosavljevic
Some versions of Rust do need it and others complain about it. For now, revert the removal entirely. This reverts commit ec944a1de97c8a523d6e1089b8c4430424297f93.
2018-09-21gnu: rust: Remove unused "ar" setting.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.20)[arguments]<#:phases>[configure]: Remove unused "ar" setting.
2018-09-21gnu: rust: Remove unused "localstatedir" setting.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.20)[arguments]<#:phases>[configure]: Remove unused "localstatedir" setting.
2018-09-21gnu: rust: Work around mtime bug in rust build helpers.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.20)[arguments]<#:phases>[fix-mtime-bug]: Delete. [reset-timestamps-after-changes]: Modify. (rust-1.24): Don't delete "fix-mtime-bug" since now it doesn't ever get created.
2018-09-21gnu: rust@1.20.0: Fix tests.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.23)[arguments]<#:phases> [patch-cargo-tests, ignore-glibc-2.27-incompatible-test,fix-mtime-bug]: Move to... (rust-1.20): ... here.
2018-09-19gnu: rust@1.19.0: Install libtest.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.19)[arguments]<#:phases>[build]: Build libtest.
2018-09-19gnu: mrustc: Enable tests.Danny Milosavljevic
* gnu/packages/rust.scm (mrustc)[arguments]: Add #:test-target. <#:phases>[install]: Don't install test output.
2018-09-13gnu: rust: Update to 1.27.2.Danny Milosavljevic
* gnu/packages/rust.scm (rust): Update to 1.27.2.
2018-09-13gnu: rust@1.23.0: Inherit outputs.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.23)[outputs]: Inherit.
2018-09-13gnu: rust@1.25.0: Disable pedantic test.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.25)[arguments]<#:phases> [disable-nil-enum-test]: New phase.
2018-09-13gnu: rust: Accept more detailed gdb responses.Danny Milosavljevic
* gnu/packages/patches/rust-1.25-accept-more-detailed-gdb-lines.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/rust.scm (rust-1.25): Use it. (rust-1.26): Use it. (rust): Use it.
2018-09-13gnu: rust@1.20.0: Replace "default-ar" by "ar".Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.20)[arguments]<#:phases>[configure]: Replace "default-ar" by "ar".
2018-09-13gnu: Add rust@1.22.1.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.22): New variable.
2018-09-13gnu: Add rust@1.21.0.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.21): New variable.
2018-09-13gnu: rust-bootstrap: Clean up comments.Danny Milosavljevic
* gnu/packages/rust.scm (rust-bootstrap): Clean up comments.
2018-09-13gnu: rust: Move "cc" from rust-bootstrap to rust proper.Danny Milosavljevic
* gnu/packages/rust.scm (rust-bootstrap)[arguments]<#:phases>[install]: Delete "cc". (rust-1.23)[arguments]<#:phases>: Delete "provide-cc" deletion.
2018-09-13gnu: rust@1.23.0: Use rust@1.20.0 as template.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.23)[inherit]: Use rust-1.20. [arguments]<#:phases>: Delete "patch-cargo-tomls" phase deletion. Add "provide-cc" phase deletion. Add "configure-archiver" phase deletion. [configure]: Inherit phase. [reset-timestamps-after-changes]: Inherit phase. [build]: Inherit phase. [check]: Inherit phase. [install]: Inherit phase. [wrap-rustc]: Inherit phase.
2018-09-13gnu: Add rust@1.20.0.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.20): New variable.
2018-09-12gnu: rust@1.19.0: Remove superfluous install-file call.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.19)[arguments]<#:phases>[build]: Remove superfluous install-file call.
2018-09-12gnu: rust@1.19.0: Install rustdoc.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.19)[arguments]<#:phases>[install]: Install rustdoc.
2018-09-12gnu: rust@1.19.0: Use match-lambda directly.Danny Milosavljevic
Follow-up to 3159ef7c99c646b78b04cedb1bd3525c301ef978. * gnu/packages/rust.scm (rust-1.19)[arguments]<#:phases>[build]: Use match-lambda directly.
2018-09-02gnu: rust: Move rust-1.19 down.Danny Milosavljevic
2018-09-02gnu: rust: Bootstrap (only) Rust 1.19.0 by mrustc.Danny Milosavljevic
* 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".
2018-08-09gnu: mrustc: Update to 0.8.0.Danny Milosavljevic
* gnu/packages/rust.scm (mrustc): Update to 0.8.0.
2018-08-07gnu: mrustc: Update to 0.8-1.ec907f5.Danny Milosavljevic
* gnu/packages/rust.scm (mrustc): Update to 0.8-1.ec907f5. [arguments]<#:phases>[patch-date]: New phase.
2018-07-15gnu: rust@1.25: Fix build on aarch64-linux.Efraim Flashner
* gnu/packages/rust.scm (rust@1.25)[arguments]: Replace inherited custom 'patch-aarch64-test phase. Make sure all phases return #t.
2018-07-15gnu: rust@1.19: Don't make public.Efraim Flashner
* gnu/packages/rust.scm (rust@1.19): Don't make it a public variable.
2018-07-10gnu: rust: Update to 1.27.0.Nikolai Merinov
* gnu/packages/rust.scm (rust): Rename to... (rust-1.26): ...this. (rust): New variable. * gnu/packages/patches/rust-bootstrap-stage0-test.patch: New file.
2018-07-10gnu: rust: Support build with glibc-2.27; update to 1.26.2.Nikolai Merinov
* 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.
2018-06-03gnu: rust: Fix build for armhf and mips64el.Mark H Weaver
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'.
2018-06-01gnu: rust: Add support for building 32-bit packages on 64-bit hosts.Robin Templeton
* 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>
2018-05-26gnu: rust: Fix typo.Marius Bakke
* gnu/packages/rust.scm (rust-bootstrap)[description]: s/manaer/manager.
2018-05-25gnu: mrustc: Update to 0.0.0-3.b5b7089.Danny Milosavljevic
* gnu/packages/rust.scm (mrustc): Update to 0.0.0-3.b5b7089.
2018-05-18gnu: mrustc: Update to 0.0.0-2.ee65f12.Danny Milosavljevic
* gnu/packages/rust.scm (mrustc): Update to 0.0.0-2.ee65f12. [arguments]<#:phases>[configure]: New phase.
2018-05-10gnu: rust: Do not refer to 'gcc' from the top level.Ludovic Courtès
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.
2018-04-18gnu: rust: Skip test_loading_cosine test.Efraim Flashner
* 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.
2018-04-17gnu: mrustc: Update to 0.0.0-1.4f98e43.Danny Milosavljevic
* gnu/packages/rust.scm (mrustc): Update to 0.0.0-1.4f98e43.
2018-04-16gnu: rust: Disable test_process_mask tests.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.19): Disable test_process_mask tests.
2018-04-16gnu: rust: Don't build for "native" arch on ARM.Efraim Flashner
* gnu/packages/rust.scm (rust-1.23)<#:phases>[dont-build-native]: New phase.
2018-04-16gnu: rust: Don't #ignore the same test twice.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.19)[arguments]<#:phases>[patch-tests]: Don't #ignore the same test twice.
2018-04-16gnu: Add mrustc.Danny Milosavljevic
* gnu/packages/rust.scm (mrustc): New variable.
2018-04-16gnu: rust: Update to 1.24.0.Nikolai Merinov
* gnu/packages/rust.scm (rust): Rename to... (rust-1.24): ...this. (rust): New variable.
2018-04-16gnu: rust: Enable more tests.Nikolai Merinov
* 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.
2018-04-15gnu: Factorize rust-bootstrapped-package.Danny Milosavljevic
* gnu/packages/rust.scm (rust-bootstrapped-package): New procedure. (rust): Use rust-bootstrapped-package.
2018-04-15gnu: Add rust@1.19.0.Danny Milosavljevic
* 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.
2018-03-30gnu: rust: Update rust to 1.24.1.Nikolai Merinov
* 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.