From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:44651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUkGS-000195-Fx for guix-patches@gnu.org; Sat, 25 May 2019 23:56:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hUkGQ-0004wh-K0 for guix-patches@gnu.org; Sat, 25 May 2019 23:56:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36586) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hUkGQ-0004wd-Gj for guix-patches@gnu.org; Sat, 25 May 2019 23:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hUkGQ-0003eS-EX for guix-patches@gnu.org; Sat, 25 May 2019 23:56:02 -0400 Subject: [bug#35911] gnu: rust: Update to 1.35.0. Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:44581) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUkGC-0000rF-QJ for guix-patches@gnu.org; Sat, 25 May 2019 23:55:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hUjxD-0006wC-8t for guix-patches@gnu.org; Sat, 25 May 2019 23:36:12 -0400 Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]:46890) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hUjxC-0006vG-RS for guix-patches@gnu.org; Sat, 25 May 2019 23:36:11 -0400 Received: by mail-pf1-x432.google.com with SMTP id y11so2745004pfm.13 for ; Sat, 25 May 2019 20:36:10 -0700 (PDT) From: Ivan Petkov Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Date: Sat, 25 May 2019 20:36:07 -0700 Message-Id: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 35911@debbugs.gnu.org =46rom 635bab2324bcaa1d1b3031af2ebc73748a9c2325 Mon Sep 17 00:00:00 2001 From: Ivan Petkov Date: Wed, 22 May 2019 20:50:47 -0700 Subject: [PATCH] gnu: rust: Update to 1.35.0. * gnu/packages/rust.scm (rust): Rename to... (rust-1.34): ...this. (rust): New variable. --- gnu/packages/rust.scm | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 3f5ec590a9..9c8088b2f7 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -1048,7 +1048,7 @@ jemalloc =3D \"" jemalloc "/lib/libjemalloc_pic.a" = "\" (setenv "RUST_TEST_THREADS" "2") #t))))))))) =20 -(define-public rust +(define-public rust-1.34 (let ((base-rust (rust-bootstrapped-package rust-1.33 "1.34.1" "19s09k7y5j6g3y4d2rk6kg9pvq6ml94c49w6b72dmq8p9lk8bixh"))) @@ -1062,3 +1062,23 @@ jemalloc =3D \"" jemalloc = "/lib/libjemalloc_pic.a" "\" (delete-file-recursively "src/llvm-project") (delete-file-recursively = "vendor/jemalloc-sys/jemalloc") #t))))))) + +(define-public rust + (let ((base-rust + (rust-bootstrapped-package rust-1.34 "1.35.0" + "0bbizy6b7002v1rdhrxrf5gijclbyizdhkglhp81ib3bf5x66kas"))) + (package + (inherit base-rust) + (arguments + (substitute-keyword-arguments (package-arguments base-rust) + ((#:phases phases) + `(modify-phases ,phases + ;; The tidy test includes a pass which ensures large = binaries + ;; don't accidentally get checked into the rust git repo. + ;; Unfortunately the test assumes that git is always = available, + ;; so we'll comment out the invocation of this pass. + (add-after 'configure 'disable-tidy-bins-check + (lambda* _ + (substitute* "src/tools/tidy/src/main.rs" + (("bins::check") "//bins::check")) + #t))))))))) --=20 2.21.0