From patchwork Sun May 26 03:36:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Petkov X-Patchwork-Id: 14083 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5CBDC1704D; Sun, 26 May 2019 04:56:16 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id D3A4D17016 for ; Sun, 26 May 2019 04:56:08 +0100 (BST) Received: from localhost ([127.0.0.1]:50446 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUkGV-00019A-1s for patchwork@mira.cbaines.net; Sat, 25 May 2019 23:56:07 -0400 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 X-Loop: help-debbugs@gnu.org Subject: [bug#35911] gnu: rust: Update to 1.35.0. Resent-From: Ivan Petkov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 26 May 2019 03:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35911 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 35911@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155884295714022 (code B ref -1); Sun, 26 May 2019 03:56:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 May 2019 03:55:57 +0000 Received: from localhost ([127.0.0.1]:50130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hUkGL-0003e6-5d for submit@debbugs.gnu.org; Sat, 25 May 2019 23:55:57 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58449) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hUkGJ-0003dq-1H for submit@debbugs.gnu.org; Sat, 25 May 2019 23:55:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:60538) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hUkGD-0004lz-RT for submit@debbugs.gnu.org; Sat, 25 May 2019 23:55:49 -0400 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:date:subject:cc:to :message-id; bh=3ZwWHX/jkp12aKuSzu6DLFtCKO3mgPoya8DzP7ap4uU=; b=p6H2QrZtar6pDAvrFvzRejhhOXQKw7MmJ8cEbftWdeWzcaGYqfNBPS2wTCXAsXEqrr //YhYlILiDxPCtbCclyA9heEAkfujUE8NP21xivKnbIMSHo5L6uRyGT0NZCfZg6ZJtKo tAqfMr8aIHdzJKVLlGvIXnOo9MYBRuqS7X9UqWx2EFp6UxCmfEOfEBIcXd9UD7mg0qi5 +ZVWj5lXYw9+koagEQqFld4mgfaPUfPUIkxOjZeUhMNFpnHQtdpcjI3s5FkdGlrdNQDR d5fXTMbMnLRLTCyI+u6LaqdR1/SVPKyGlcjVLDUDFIgETLpEkq5Fey5LJYrC9J0yZNYJ dnsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version:date :subject:cc:to:message-id; bh=3ZwWHX/jkp12aKuSzu6DLFtCKO3mgPoya8DzP7ap4uU=; b=k/42SN3PbS3002dFItCxuQ7m22Ex2h73DN6MAM84fqAwiGv6UnCJXLSBQ/VBofhTRE OkB7VKX4AOs8Jkl7uCqQYxGUKvLh4gkFXuPBm344m9BF2NrFFzm/sSmZWfUfcTo+HFnC TBuSM2T7FsBHXywv3rvhHrtaPZV76CDXzslxDnJG65W/VsmWHNcoJxtsPx9IJVdBl/RI Dijv8HMVDMbNpu28iTcx9hxmBvJqut7BDEXajqBPtBC8nF5z+A9FXNjJfRAZ/vH7u1kD s1azcZrV42dpQ2R4B1HKNVK1PEHuGFUj8frMoqmrzDlMChdPe/e0lpp/VfeuSIyNlHex R2/w== X-Gm-Message-State: APjAAAUSeGyJILFSLWOs9cNNIkb8R1GbNLfgKVqhKJScvacYKOWZBjHZ To8q/RkT5Qqj3F/y1IPvoXU3eeed/E8= X-Google-Smtp-Source: APXvYqxbBcZJYhJuuxfHlD42jYkEuhTS87jzdAVEcfRU36K8YkSD87BjkEdD7N0PYh9J/kWNwuFOwQ== X-Received: by 2002:a62:fb18:: with SMTP id x24mr60203799pfm.76.1558841769475; Sat, 25 May 2019 20:36:09 -0700 (PDT) Received: from ?IPv6:2601:602:9a00:1784:e06a:28cb:96c1:e1? ([2601:602:9a00:1784:e06a:28cb:96c1:e1]) by smtp.gmail.com with ESMTPSA id j20sm471775pfi.138.2019.05.25.20.36.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 25 May 2019 20:36:08 -0700 (PDT) From: Ivan Petkov Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Date: Sat, 25 May 2019 20:36:07 -0700 Message-Id: X-Mailer: Apple Mail (2.3445.9.1) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From 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 = \"" jemalloc "/lib/libjemalloc_pic.a" "\" (setenv "RUST_TEST_THREADS" "2") #t))))))))) -(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 = \"" 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)))))))))