mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-26 11:10:31 +02:00
rustup: update to 1.18.3.
This commit is contained in:
parent
95592502d5
commit
09a18982e6
2 changed files with 10 additions and 9 deletions
|
@ -1,14 +1,15 @@
|
|||
Upstream: No, not upstreamable like this
|
||||
Reason: We want the rustup binary in $CARGO_HOME/bin to be of the
|
||||
same version as the one we distribute in this rustup package.
|
||||
--- src/rustup-cli/self_update.rs.1 2018-12-13 21:56:55.211778812 +0100
|
||||
+++ src/rustup-cli/self_update.rs 2018-12-13 21:56:42.763779768 +0100
|
||||
@@ -671,8 +671,7 @@
|
||||
--- src/cli/self_update.rs.orig 2019-05-27 16:17:21.432715136 +0200
|
||||
+++ src/cli/self_update.rs 2019-05-27 16:18:56.537718683 +0200
|
||||
@@ -619,8 +619,7 @@
|
||||
if rustup_path.exists() {
|
||||
utils::remove_file("rustup-bin", rustup_path)?;
|
||||
utils::remove_file("rustup-bin", &rustup_path)?;
|
||||
}
|
||||
- utils::copy_file(this_exe_path, rustup_path)?;
|
||||
- utils::make_executable(rustup_path)?;
|
||||
+ utils::symlink_file(this_exe_path, rustup_path)?;
|
||||
- utils::copy_file(&this_exe_path, &rustup_path)?;
|
||||
- utils::make_executable(&rustup_path)?;
|
||||
+ utils::symlink_file(&this_exe_path, &rustup_path)?;
|
||||
install_proxies()
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'rustup'
|
||||
pkgname=rustup
|
||||
version=1.17.0
|
||||
version=1.18.3
|
||||
revision=1
|
||||
wrksrc="${pkgname}.rs-${version}"
|
||||
build_style=cargo
|
||||
|
@ -12,7 +12,7 @@ maintainer="Daniel Lee Ramírez <dleeram@protonmail.com>"
|
|||
license="Apache-2.0, MIT"
|
||||
homepage="https://www.rustup.rs"
|
||||
distfiles="https://github.com/rust-lang-nursery/${pkgname}.rs/archive/${version}.tar.gz"
|
||||
checksum=6db73f9684b4d93de47cd511ebd56c2821c37bb41054a4a60060b496764f1f4d
|
||||
checksum=9a2ae2c85bbbfc838b25d86d049bc677532950d78765725beabb8a61df1c2710
|
||||
|
||||
do_install() {
|
||||
vbin target/${RUST_TARGET}/release/rustup-init
|
||||
|
|
Loading…
Add table
Reference in a new issue