From unknown Wed Jul 09 09:12:43 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#35115] [PATCH] gnu: rust: Update to 1.33.0 Resent-From: Ivan Petkov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 03 Apr 2019 02:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35115 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 35115@debbugs.gnu.org Cc: Danny Milosavljevic X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15542588143904 (code B ref -1); Wed, 03 Apr 2019 02:34:01 +0000 Received: (at submit) by debbugs.gnu.org; 3 Apr 2019 02:33:34 +0000 Received: from localhost ([127.0.0.1]:41945 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hBViY-00010u-G7 for submit@debbugs.gnu.org; Tue, 02 Apr 2019 22:33:34 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50977) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hBViW-00010g-Qa for submit@debbugs.gnu.org; Tue, 02 Apr 2019 22:33:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:45889) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hBViR-0008WP-Ja for submit@debbugs.gnu.org; Tue, 02 Apr 2019 22:33:27 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBViQ-0002Eg-Ch for guix-patches@gnu.org; Tue, 02 Apr 2019 22:33:27 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hBViP-0008VF-5B for guix-patches@gnu.org; Tue, 02 Apr 2019 22:33:26 -0400 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]:43073) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hBViO-0008Ud-Pw for guix-patches@gnu.org; Tue, 02 Apr 2019 22:33:25 -0400 Received: by mail-pf1-x42d.google.com with SMTP id c8so7341991pfd.10 for ; Tue, 02 Apr 2019 19:33:24 -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=rSqE3zJFyIyCEaXAi7mm5aadarVuDfqvMuPjdyf71i8=; b=oHLcf6cn4hRJPkjrpGeWLsSSWGlLZhm3wGeNc9CEP3wclHiqFT90bNRqdFFlZ+7GOB NFZnIet0XyihjpslR3jdfaoULhp0QmHrdAHaXwvdlj2LYiLfcb1+khdPTSbeL8QHfpYW lbTZMr0ejJ10JOvr5nazv7EmQ++EdDwJqo94HttavRiTJF/H/4E+VJ4btgyt9r1XF4MV 0YVrtZA/hLulAZZjdLGmsTgEv6ziAbYklgdRpBYQguHLEypjlGgLE4ghwFfF4Pjj0lsT qMkqNayXgW00QijCyrUJOdrIoS8pHYcomufKfntgSP1y1E5C1bkEuqh2glNSWJeiacq/ QXBQ== 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=rSqE3zJFyIyCEaXAi7mm5aadarVuDfqvMuPjdyf71i8=; b=JrBCrpzUD2KgxB8BWFHgpu2yq1n0oKuRPFh9S6Wgp38Z3nCGlny7kZGDBa76LgRiiv gZhura3ZfbCrRoChTVINYx68fIblykNI/s1dzM9JpsCiAa6HUerqZgFduR4gChGkC0lc iIK4L04LIChw/NX2NtTO5wG92DH3/R23wcHCWJVRiEkomNij9bydPMCapLBaSDLAAznR RP4uWNHu8+XMtpK/gEkxa9HCtMLB22Psrea7O0qo3dFPJmeM6tHljNTJX0AVCHlgMYNU RtdHyeME5oY8awmZw5vnOAtyvZg27cC1E8VBrJBJPyIebRlrJdmLm6jukNrUQRtWbg05 poaw== X-Gm-Message-State: APjAAAUK6LaS8Tw1O9Zdi1rWQEw1wPmguc7FWy4x2eq5Y0jGOKkMnbkw W1sJ6G6Uz6KqUC/6cJxZUsC/PZ6x X-Google-Smtp-Source: APXvYqz4p1MDQ4aZMhDQz5/CgLqT/9uSSRuWuQnC8dPPVX9EED7PuS1Evx8tVo+vzFfXh6w+MO3FkQ== X-Received: by 2002:a63:1247:: with SMTP id 7mr65205765pgs.352.1554258803354; Tue, 02 Apr 2019 19:33:23 -0700 (PDT) Received: from ?IPv6:2601:602:9a00:1784:d9ab:fc5c:426e:1c71? ([2601:602:9a00:1784:d9ab:fc5c:426e:1c71]) by smtp.gmail.com with ESMTPSA id c18sm43496465pfc.0.2019.04.02.19.33.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Apr 2019 19:33:22 -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: Tue, 2 Apr 2019 19:33:21 -0700 Message-Id: <7396117A-02C0-48D4-A643-56519ED8E608@gmail.com> X-Mailer: Apple Mail (2.3445.9.1) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::42d X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * gnu/packages/rust.scm (rust): Rename to... (rust-1.32): ...this. (rust): New variable. --- gnu/packages/rust.scm | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 63426a12fc..fb045afad4 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -928,7 +928,7 @@ jemalloc =3D \"" jemalloc "/lib/libjemalloc_pic.a" = "\" (("```rust") "```rust,no_run")) #t))))))))) =20 -(define-public rust +(define-public rust-1.32 (let ((base-rust (rust-bootstrapped-package rust-1.31 "1.32.0" "0ji2l9xv53y27xy72qagggvq47gayr5lcv2jwvmfirx029vlqnac" @@ -980,3 +980,28 @@ jemalloc =3D \"" jemalloc "/lib/libjemalloc_pic.a" = "\" ;; Remove no longer relevant steps (delete 'remove-flaky-test) (delete 'patch-aarch64-test)))))))) + +(define-public rust-1.33 + (let ((base-rust + (rust-bootstrapped-package rust-1.32 "1.33.0" + = "152x91mg7bz4ygligwjb05fgm1blwy2i70s2j03zc9jiwvbsh0as" + #:patches '()))) + (package + (inherit base-rust) + (inputs + ;; Upgrade to jemalloc@5.1.0 + (alist-replace "jemalloc" (list jemalloc) + (package-inputs base-rust))) + (arguments + (substitute-keyword-arguments (package-arguments base-rust) + ((#:phases phases) + `(modify-phases ,phases + (delete 'ignore-cargo-package-tests) + (add-after 'configure 'configure-test-threads + ;; Several rustc and cargo tests will fail if run on one = core + ;; https://github.com/rust-lang/rust/issues/59122 + ;; https://github.com/rust-lang/cargo/issues/6746 + ;; https://github.com/rust-lang/rust/issues/58907 + (lambda* (#:key inputs #:allow-other-keys) + (setenv "RUST_TEST_THREADS" "2") + #t))))))))) --=20 2.21.0 From unknown Wed Jul 09 09:12:43 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#35115] [PATCH] gnu: rust: Update to 1.33.0 Resent-From: Ivan Petkov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 03 Apr 2019 05:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35115 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 35115@debbugs.gnu.org Received: via spool by 35115-submit@debbugs.gnu.org id=B35115.155426869027655 (code B ref 35115); Wed, 03 Apr 2019 05:19:02 +0000 Received: (at 35115) by debbugs.gnu.org; 3 Apr 2019 05:18:10 +0000 Received: from localhost ([127.0.0.1]:42037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hBYHo-0007Bx-Db for submit@debbugs.gnu.org; Wed, 03 Apr 2019 01:18:08 -0400 Received: from mail-pl1-f180.google.com ([209.85.214.180]:35978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hBYHm-0007BQ-GQ for 35115@debbugs.gnu.org; Wed, 03 Apr 2019 01:18:06 -0400 Received: by mail-pl1-f180.google.com with SMTP id ck15so6234103plb.3 for <35115@debbugs.gnu.org>; Tue, 02 Apr 2019 22:18:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=F/asCApkMREv7YKY4lj/8Htw3Vt7JE7+CgFR9s1bNdY=; b=B9NspLgTBeZEu/sWzbKwongwFdxbQmW568MFE1kxHDrJmwBHylJ7TdCjyToMgUGEZT LcVXbJWOoaW2yhzNINr4zLCvh7THRUesnEAgloLoo5QDEYObe0LBkJ9+afJiARDNbT4d 4KpHXR/xLQkJNtXIlBPRk9rFu+nBlLWOJKcFgCR8orcp/akIxjsQ5WDONbt8fpwyPSCa tUyzuveOvLdQzq8zuOWHfftlAV8tv7vAh2pmh8hNmCV1fiLq+VwEN2WT2T4OvzjQPqXB c7fy34fb0qK4ARJ/xl8NpS8Nk3kxhWeyDYCCb/m3SXmJ3+zpkZeyqVHMzcH5nK0ZqexZ AHtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=F/asCApkMREv7YKY4lj/8Htw3Vt7JE7+CgFR9s1bNdY=; b=DZll+tSsMDGE2bgt5GXMZuowsH3M12YPWBeXgQHjw24ZGYY6ivty8i4RMlLAGBiCW2 BiiS+W1EykCtYqpNIgje3V96iwqqi0UvJG6tRlGXFfY8z7x9Eu9nFHFDcKIFJw06MKN/ kPsChi/odHL+pNLNranKzzn+SKY40iQtjz9VLK2uGau2GI52ko6vIIISOF2A3nzgxz0C GKJ8N5xhV8faL7mXQE6IJ/3x3oj43jKmlP0jyUrgCp/oqEUID3GKCqCfUjwyjfQTYTsT Tdcq3vqgZtY2Ij5j3N98nBb6S4eKzrUe4KwKu5b4IXDLTAfmJ9m1La3DnWESQRXg6lTO 42Aw== X-Gm-Message-State: APjAAAUPt1oIvTrkYloxyMkwkPcjPolbQfIgroUm3C9yv4TzsUX0byB7 vp+yEuqxzspMGiq6kFjELymOB/I8 X-Google-Smtp-Source: APXvYqznkrvi2ktVviEIEiI14lsDtN+dNkEa5uBvAZhhA23+ocrdcJMhE9eVJfuI59KxdqfU7JOoWA== X-Received: by 2002:a17:902:4827:: with SMTP id s36mr41246897pld.296.1554268680501; Tue, 02 Apr 2019 22:18:00 -0700 (PDT) Received: from [10.0.1.14] (c-73-109-7-225.hsd1.wa.comcast.net. [73.109.7.225]) by smtp.gmail.com with ESMTPSA id a80sm39980282pfj.61.2019.04.02.22.17.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Apr 2019 22:17:59 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) From: Ivan Petkov In-Reply-To: Date: Tue, 2 Apr 2019 22:17:55 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <49FCF5BF-53DB-4348-8A9C-2DDCE2D3F470@gmail.com> References: <7396117A-02C0-48D4-A643-56519ED8E608@gmail.com> X-Mailer: Apple Mail (2.3445.9.1) X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Realized I forgot to rename the `rust-1.33` variable to `rust` when I sent out the patch, but something that should be tweaked before = pushing=E2=80=A6 =E2=80=94Ivan= From unknown Wed Jul 09 09:12:43 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ivan Petkov Subject: bug#35115: closed (Re: [bug#35115] [PATCH] gnu: rust: Update to 1.33.0) Message-ID: References: <8736mo3j7z.fsf@gnu.org> <7396117A-02C0-48D4-A643-56519ED8E608@gmail.com> X-Gnu-PR-Message: they-closed 35115 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 35115@debbugs.gnu.org Date: Thu, 11 Apr 2019 10:55:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1554980102-17411-1" This is a multi-part message in MIME format... ------------=_1554980102-17411-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #35115: [PATCH] gnu: rust: Update to 1.33.0 which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 35115@debbugs.gnu.org. --=20 35115: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D35115 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1554980102-17411-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 35115-done) by debbugs.gnu.org; 11 Apr 2019 10:54:53 +0000 Received: from localhost ([127.0.0.1]:53928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hEXM4-0004WR-Py for submit@debbugs.gnu.org; Thu, 11 Apr 2019 06:54:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hEXM3-0004WF-Av for 35115-done@debbugs.gnu.org; Thu, 11 Apr 2019 06:54:51 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52340) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hEXLv-0002qz-0u; Thu, 11 Apr 2019 06:54:44 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=49776 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hEXLu-0001x0-FI; Thu, 11 Apr 2019 06:54:42 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Ivan Petkov Subject: Re: [bug#35115] [PATCH] gnu: rust: Update to 1.33.0 References: <7396117A-02C0-48D4-A643-56519ED8E608@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 22 Germinal an 227 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 11 Apr 2019 12:54:40 +0200 In-Reply-To: <7396117A-02C0-48D4-A643-56519ED8E608@gmail.com> (Ivan Petkov's message of "Tue, 2 Apr 2019 19:33:21 -0700") Message-ID: <8736mo3j7z.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35115-done Cc: 35115-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Ivan, Ivan Petkov skribis: > * gnu/packages/rust.scm (rust): Rename to... > (rust-1.32): ...this. > (rust): New variable. I added the new =E2=80=98rust=E2=80=99 variable and applied. Thank you! Ludo=E2=80=99. ------------=_1554980102-17411-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 3 Apr 2019 02:33:34 +0000 Received: from localhost ([127.0.0.1]:41945 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hBViY-00010u-G7 for submit@debbugs.gnu.org; Tue, 02 Apr 2019 22:33:34 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50977) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hBViW-00010g-Qa for submit@debbugs.gnu.org; Tue, 02 Apr 2019 22:33:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:45889) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hBViR-0008WP-Ja for submit@debbugs.gnu.org; Tue, 02 Apr 2019 22:33:27 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBViQ-0002Eg-Ch for guix-patches@gnu.org; Tue, 02 Apr 2019 22:33:27 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hBViP-0008VF-5B for guix-patches@gnu.org; Tue, 02 Apr 2019 22:33:26 -0400 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]:43073) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hBViO-0008Ud-Pw for guix-patches@gnu.org; Tue, 02 Apr 2019 22:33:25 -0400 Received: by mail-pf1-x42d.google.com with SMTP id c8so7341991pfd.10 for ; Tue, 02 Apr 2019 19:33:24 -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=rSqE3zJFyIyCEaXAi7mm5aadarVuDfqvMuPjdyf71i8=; b=oHLcf6cn4hRJPkjrpGeWLsSSWGlLZhm3wGeNc9CEP3wclHiqFT90bNRqdFFlZ+7GOB NFZnIet0XyihjpslR3jdfaoULhp0QmHrdAHaXwvdlj2LYiLfcb1+khdPTSbeL8QHfpYW lbTZMr0ejJ10JOvr5nazv7EmQ++EdDwJqo94HttavRiTJF/H/4E+VJ4btgyt9r1XF4MV 0YVrtZA/hLulAZZjdLGmsTgEv6ziAbYklgdRpBYQguHLEypjlGgLE4ghwFfF4Pjj0lsT qMkqNayXgW00QijCyrUJOdrIoS8pHYcomufKfntgSP1y1E5C1bkEuqh2glNSWJeiacq/ QXBQ== 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=rSqE3zJFyIyCEaXAi7mm5aadarVuDfqvMuPjdyf71i8=; b=JrBCrpzUD2KgxB8BWFHgpu2yq1n0oKuRPFh9S6Wgp38Z3nCGlny7kZGDBa76LgRiiv gZhura3ZfbCrRoChTVINYx68fIblykNI/s1dzM9JpsCiAa6HUerqZgFduR4gChGkC0lc iIK4L04LIChw/NX2NtTO5wG92DH3/R23wcHCWJVRiEkomNij9bydPMCapLBaSDLAAznR RP4uWNHu8+XMtpK/gEkxa9HCtMLB22Psrea7O0qo3dFPJmeM6tHljNTJX0AVCHlgMYNU RtdHyeME5oY8awmZw5vnOAtyvZg27cC1E8VBrJBJPyIebRlrJdmLm6jukNrUQRtWbg05 poaw== X-Gm-Message-State: APjAAAUK6LaS8Tw1O9Zdi1rWQEw1wPmguc7FWy4x2eq5Y0jGOKkMnbkw W1sJ6G6Uz6KqUC/6cJxZUsC/PZ6x X-Google-Smtp-Source: APXvYqz4p1MDQ4aZMhDQz5/CgLqT/9uSSRuWuQnC8dPPVX9EED7PuS1Evx8tVo+vzFfXh6w+MO3FkQ== X-Received: by 2002:a63:1247:: with SMTP id 7mr65205765pgs.352.1554258803354; Tue, 02 Apr 2019 19:33:23 -0700 (PDT) Received: from ?IPv6:2601:602:9a00:1784:d9ab:fc5c:426e:1c71? ([2601:602:9a00:1784:d9ab:fc5c:426e:1c71]) by smtp.gmail.com with ESMTPSA id c18sm43496465pfc.0.2019.04.02.19.33.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Apr 2019 19:33:22 -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: Tue, 2 Apr 2019 19:33:21 -0700 Subject: [PATCH] gnu: rust: Update to 1.33.0 To: guix-patches@gnu.org Message-Id: <7396117A-02C0-48D4-A643-56519ED8E608@gmail.com> X-Mailer: Apple Mail (2.3445.9.1) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::42d X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: Danny Milosavljevic X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * gnu/packages/rust.scm (rust): Rename to... (rust-1.32): ...this. (rust): New variable. --- gnu/packages/rust.scm | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 63426a12fc..fb045afad4 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -928,7 +928,7 @@ jemalloc =3D \"" jemalloc "/lib/libjemalloc_pic.a" = "\" (("```rust") "```rust,no_run")) #t))))))))) =20 -(define-public rust +(define-public rust-1.32 (let ((base-rust (rust-bootstrapped-package rust-1.31 "1.32.0" "0ji2l9xv53y27xy72qagggvq47gayr5lcv2jwvmfirx029vlqnac" @@ -980,3 +980,28 @@ jemalloc =3D \"" jemalloc "/lib/libjemalloc_pic.a" = "\" ;; Remove no longer relevant steps (delete 'remove-flaky-test) (delete 'patch-aarch64-test)))))))) + +(define-public rust-1.33 + (let ((base-rust + (rust-bootstrapped-package rust-1.32 "1.33.0" + = "152x91mg7bz4ygligwjb05fgm1blwy2i70s2j03zc9jiwvbsh0as" + #:patches '()))) + (package + (inherit base-rust) + (inputs + ;; Upgrade to jemalloc@5.1.0 + (alist-replace "jemalloc" (list jemalloc) + (package-inputs base-rust))) + (arguments + (substitute-keyword-arguments (package-arguments base-rust) + ((#:phases phases) + `(modify-phases ,phases + (delete 'ignore-cargo-package-tests) + (add-after 'configure 'configure-test-threads + ;; Several rustc and cargo tests will fail if run on one = core + ;; https://github.com/rust-lang/rust/issues/59122 + ;; https://github.com/rust-lang/cargo/issues/6746 + ;; https://github.com/rust-lang/rust/issues/58907 + (lambda* (#:key inputs #:allow-other-keys) + (setenv "RUST_TEST_THREADS" "2") + #t))))))))) --=20 2.21.0 ------------=_1554980102-17411-1--