Message ID | MwocHBM--3-2@tutanota.com |
---|---|
State | Accepted |
Headers | show |
Series | [bug#53461,kiasoc5@tutanota.com:,Rust,CVE] | expand |
Context | Check | Description |
---|---|---|
cbaines/applying patch | fail | View Laminar job |
cbaines/issue | success | View issue |
kiasoc5--- via Guix-patches via schreef op za 26-02-2022 om 07:07 [+0100]: > +(define rust-1.59 > + (rust-bootstrapped-package > + rust-1.58 "1.59.0" > "1yc5bwcbmbwyvpfq7zvra78l0r8y3lbv60kbr62fzz2vx2pfxj57")) Is building rust@1.59 with rust@1.58 necessary? Can it be built with an earlier rust instead? I.e., would (define rust-1.59 (rust-bootstrapped-package rust-1.57 "1.59.0" [...])) or even (define rust-1.59 (package (inherit rust-1.56) (source (origin (inherit (package-source rust-1.56)) (uri (rust-uri version)) (sha256 (base32 [...])))))) work? Greetings, Maxime.
mrustc v0.10 was just released, and can bootstrap Rust 1.54. It would help to update mrustc first, then we can try to bootstrap 1.59 from 1.54 and hopefully save some compile time :) Feb 26, 2022, 10:35 by maximedevos@telenet.be: > kiasoc5--- via Guix-patches via schreef op za 26-02-2022 om 07:07 > [+0100]: > >> +(define rust-1.59 >> + (rust-bootstrapped-package >> + rust-1.58 "1.59.0" >> "1yc5bwcbmbwyvpfq7zvra78l0r8y3lbv60kbr62fzz2vx2pfxj57")) >> > > Is building rust@1.59 with rust@1.58 necessary? Can it be built > with an earlier rust instead? I.e., would > > (define rust-1.59 (rust-bootstrapped-package rust-1.57 "1.59.0" [...])) > > or even > > (define rust-1.59 > (package > (inherit rust-1.56) > (source > (origin > (inherit (package-source rust-1.56)) > (uri (rust-uri version)) > (sha256 (base32 [...])))))) > > work? > > Greetings, > Maxime. >
From 8e03a6a0a100c751338c1ddfa8d58fd49316e427 Mon Sep 17 00:00:00 2001 From: kiasoc5 <kiasoc5@tutanota.com> Date: Fri, 25 Feb 2022 09:35:56 -0500 Subject: [PATCH 2/2] gnu: Add rust 1.59. * gnu/packages/rust.scm (rust-1.59): New variable. --- gnu/packages/rust.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 9652f331cf..589c8a1b21 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -788,11 +788,14 @@ (define rust-1.58 (rust-bootstrapped-package rust-1.57 "1.58.1" "1iq7kj16qfpkx8gvw50d8rf7glbm6s0pj2y1qkrz7mi56vfsyfd8")) +(define rust-1.59 + (rust-bootstrapped-package + rust-1.58 "1.59.0" "1yc5bwcbmbwyvpfq7zvra78l0r8y3lbv60kbr62fzz2vx2pfxj57")) ;;; Note: Only the latest versions of Rust are supported and tested. The ;;; intermediate rusts are built for bootstrapping purposes and should not ;;; be relied upon. This is to ease maintenance and reduce the time ;;; required to build the full Rust bootstrap chain. -(define-public rust rust-1.57) +(define-public rust rust-1.59) (define-public rust-src (hidden-package -- 2.35.1