mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: cargo-version: Fix URI in comment.
The table of corresponding cargo and rustc versions was removed from cargo's HEAD for being outdated, but still illustrates the pattern. * gnu/packages/rust.scm (cargo-version): Link to an older README.md revision.
This commit is contained in:
parent
83c9288230
commit
af38b2dd5e
1 changed files with 3 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
||||||
;;; Copyright © 2017 Ben Woodcroft <donttrustben@gmail.com>
|
;;; Copyright © 2017 Ben Woodcroft <donttrustben@gmail.com>
|
||||||
;;; Copyright © 2017 Nikolai Merinov <nikolai.merinov@member.fsf.org>
|
;;; Copyright © 2017 Nikolai Merinov <nikolai.merinov@member.fsf.org>
|
||||||
;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
|
||||||
|
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -89,7 +90,8 @@ (define (increment-rust-version rust-version major patch)
|
||||||
|
|
||||||
(define* (cargo-version rustc-version #:optional (patch 0))
|
(define* (cargo-version rustc-version #:optional (patch 0))
|
||||||
;; Computes the cargo version that matches the rustc version.
|
;; Computes the cargo version that matches the rustc version.
|
||||||
;; https://github.com/rust-lang/cargo#Releases
|
;; This has so far continued to follow a predictable pattern:
|
||||||
|
;; https://github.com/rust-lang/cargo/blob/50a46f47/README.md#releases
|
||||||
(increment-rust-version rustc-version 0 patch))
|
(increment-rust-version rustc-version 0 patch))
|
||||||
|
|
||||||
(define* (rustc-version bootstrap-version #:optional (patch 0))
|
(define* (rustc-version bootstrap-version #:optional (patch 0))
|
||||||
|
|
Loading…
Reference in a new issue