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
|
@ -5,6 +5,7 @@
|
|||
;;; Copyright © 2017 Ben Woodcroft <donttrustben@gmail.com>
|
||||
;;; Copyright © 2017 Nikolai Merinov <nikolai.merinov@member.fsf.org>
|
||||
;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -89,7 +90,8 @@
|
|||
|
||||
(define* (cargo-version rustc-version #:optional (patch 0))
|
||||
;; 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))
|
||||
|
||||
(define* (rustc-version bootstrap-version #:optional (patch 0))
|
||||
|
|
Loading…
Reference in New Issue