summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO34
-rw-r--r--PKGBUILD16
-rw-r--r--mingw-config.toml24
3 files changed, 46 insertions, 28 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 97fd52975b37..f04fdf2ab092 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = mingw-w64-rust
pkgdesc = Systems programming language focused on safety, speed and concurrency (mingw-w64)
- pkgver = 1.56.1
+ pkgver = 1.57.0
pkgrel = 1
url = https://www.rust-lang.org
arch = x86_64
@@ -20,31 +20,31 @@ pkgbase = mingw-w64-rust
depends = libgit2
depends = mingw-w64-gcc>=10.1.0
optdepends = mingw-w64-wine: for cargo test support
- noextract = rust-std-1.55.0-x86_64-unknown-linux-gnu.tar.xz
- noextract = rustc-1.55.0-x86_64-unknown-linux-gnu.tar.xz
- noextract = cargo-1.55.0-x86_64-unknown-linux-gnu.tar.xz
+ noextract = rust-std-1.56.1-x86_64-unknown-linux-gnu.tar.xz
+ noextract = rustc-1.56.1-x86_64-unknown-linux-gnu.tar.xz
+ noextract = cargo-1.56.1-x86_64-unknown-linux-gnu.tar.xz
options = !strip
options = staticlibs
options = !buildflags
backup = opt/rust/cargo/config
- source = https://static.rust-lang.org/dist/rustc-1.56.1-src.tar.xz
- source = https://static.rust-lang.org/dist/rustc-1.56.1-src.tar.xz.asc
- source = https://static.rust-lang.org/dist/2021-09-09/rust-std-1.55.0-x86_64-unknown-linux-gnu.tar.xz
- source = https://static.rust-lang.org/dist/2021-09-09/rust-std-1.55.0-x86_64-unknown-linux-gnu.tar.xz.asc
- source = https://static.rust-lang.org/dist/2021-09-09/rustc-1.55.0-x86_64-unknown-linux-gnu.tar.xz
- source = https://static.rust-lang.org/dist/2021-09-09/rustc-1.55.0-x86_64-unknown-linux-gnu.tar.xz.asc
- source = https://static.rust-lang.org/dist/2021-09-09/cargo-1.55.0-x86_64-unknown-linux-gnu.tar.xz
- source = https://static.rust-lang.org/dist/2021-09-09/cargo-1.55.0-x86_64-unknown-linux-gnu.tar.xz.asc
+ source = https://static.rust-lang.org/dist/rustc-1.57.0-src.tar.xz
+ source = https://static.rust-lang.org/dist/rustc-1.57.0-src.tar.xz.asc
+ source = https://static.rust-lang.org/dist/2021-11-01/rust-std-1.56.1-x86_64-unknown-linux-gnu.tar.xz
+ source = https://static.rust-lang.org/dist/2021-11-01/rust-std-1.56.1-x86_64-unknown-linux-gnu.tar.xz.asc
+ source = https://static.rust-lang.org/dist/2021-11-01/rustc-1.56.1-x86_64-unknown-linux-gnu.tar.xz
+ source = https://static.rust-lang.org/dist/2021-11-01/rustc-1.56.1-x86_64-unknown-linux-gnu.tar.xz.asc
+ source = https://static.rust-lang.org/dist/2021-11-01/cargo-1.56.1-x86_64-unknown-linux-gnu.tar.xz
+ source = https://static.rust-lang.org/dist/2021-11-01/cargo-1.56.1-x86_64-unknown-linux-gnu.tar.xz.asc
source = mingw-config.toml
validpgpkeys = 108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE
- sha256sums = 61fdcc8bc2530ee18f91318347e09b7cc07e9ca04b1c627c135ecc8dcb8f2ac5
+ sha256sums = fad07ea1daf9c6195c32e6e9c43ece4565c5f2f1de3c3771574790d6abbc9704
sha256sums = SKIP
- sha256sums = 160873f5ba5099b21202a1e62eb7b0588aabf88dd709f886b142ce60356b3006
+ sha256sums = b01011cbb5503c456ecc6a557a38e099994b8497df545c661ce8fd48c5beadc6
sha256sums = SKIP
- sha256sums = a602f4178d5adfa8428f89bd4045df029586d1bb87e04ae6ec2da7eb702a403d
+ sha256sums = a7001d1218b62d377cab15522d1b1c376b073c05f7d0ff32cf278871a5eeda3d
sha256sums = SKIP
- sha256sums = 1ab9296faf1909fe3ac619ba208aeff905c39124504991c14e06462b9328493e
+ sha256sums = dfed65a50e2b58b6807c1fb6f8afa7abd5c3b22c682d505721d615823687c708
sha256sums = SKIP
- sha256sums = 4cd21911ecdbe7f7c39091264d3f39551c4647eda80cf2b94f2923ba243391d7
+ sha256sums = 25ddd6c6c4af4f7fde94dcd040c32ef53c5b16d7590f3bc306fe0c05a6380f9d
pkgname = mingw-w64-rust
diff --git a/PKGBUILD b/PKGBUILD
index a03814d10878..049fc6ea7bf2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,12 +5,12 @@
# Contributor: userwithuid < userwithuid at gmail dot com >
_pkgname=rust
-_date=2021-09-09
-_rustc=1.55.0
+_date=2021-11-01
+_rustc=1.56.1
pkgname=mingw-w64-rust
_prefix=opt/rust
-pkgver=1.56.1
+pkgver=1.57.0
pkgrel=1
pkgdesc="Systems programming language focused on safety, speed and concurrency (mingw-w64)"
arch=('x86_64')
@@ -38,15 +38,15 @@ source=("https://static.rust-lang.org/dist/rustc-${pkgver}-src.tar.xz"{,.asc}
noextract=("rust-std-${_rustc}-x86_64-unknown-linux-gnu.tar.xz"
"rustc-${_rustc}-x86_64-unknown-linux-gnu.tar.xz"
"cargo-${_rustc}-x86_64-unknown-linux-gnu.tar.xz")
-sha256sums=('61fdcc8bc2530ee18f91318347e09b7cc07e9ca04b1c627c135ecc8dcb8f2ac5'
+sha256sums=('fad07ea1daf9c6195c32e6e9c43ece4565c5f2f1de3c3771574790d6abbc9704'
'SKIP'
- '160873f5ba5099b21202a1e62eb7b0588aabf88dd709f886b142ce60356b3006'
+ 'b01011cbb5503c456ecc6a557a38e099994b8497df545c661ce8fd48c5beadc6'
'SKIP'
- 'a602f4178d5adfa8428f89bd4045df029586d1bb87e04ae6ec2da7eb702a403d'
+ 'a7001d1218b62d377cab15522d1b1c376b073c05f7d0ff32cf278871a5eeda3d'
'SKIP'
- '1ab9296faf1909fe3ac619ba208aeff905c39124504991c14e06462b9328493e'
+ 'dfed65a50e2b58b6807c1fb6f8afa7abd5c3b22c682d505721d615823687c708'
'SKIP'
- '4cd21911ecdbe7f7c39091264d3f39551c4647eda80cf2b94f2923ba243391d7')
+ '25ddd6c6c4af4f7fde94dcd040c32ef53c5b16d7590f3bc306fe0c05a6380f9d')
validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag and Release Signing Key) <rust-key@rust-lang.org>
backup=("opt/rust/cargo/config")
diff --git a/mingw-config.toml b/mingw-config.toml
index 2a59919c3d81..4006c1dd9747 100644
--- a/mingw-config.toml
+++ b/mingw-config.toml
@@ -202,15 +202,15 @@ target = ["x86_64-unknown-linux-gnu", "i686-pc-windows-gnu", "x86_64-pc-windows-
# You can use "$ROOT" to indicate the root of the git repository.
#build-dir = "build"
-# Instead of downloading the src/stage0.txt version of Cargo specified, use
+# Instead of downloading the src/stage0.json version of Cargo specified, use
# this Cargo binary instead to build all Rust code
#cargo = "/path/to/cargo"
-# Instead of downloading the src/stage0.txt version of the compiler
+# Instead of downloading the src/stage0.json version of the compiler
# specified, use this rustc binary instead as the stage0 snapshot compiler.
#rustc = "/path/to/rustc"
-# Instead of download the src/stage0.txt version of rustfmt specified,
+# Instead of download the src/stage0.json version of rustfmt specified,
# use this rustfmt binary instead as the stage0 snapshot rustfmt.
#rustfmt = "/path/to/rustfmt"
@@ -313,6 +313,12 @@ print-step-timings = false
# this setting's very existence, are all subject to change.)
#print-step-rusage = false
+# Always patch binaries for usage with Nix toolchains. If `true` then binaries
+# will be patched unconditionally. If `false` or unset, binaries will be patched
+# only if the current distribution is NixOS. This option is useful when using
+# a Nix toolchain on non-NixOS distributions.
+#patch-binaries-for-nix = false
+
# =============================================================================
# General install configuration options
# =============================================================================
@@ -417,6 +423,18 @@ debug-assertions-std = false
# set this value to `true`.
debug-logging = false
+# Whether or not overflow checks are enabled for the compiler and standard
+# library.
+#
+# Defaults to rust.debug value
+#overflow-checks = rust.debug (boolean)
+
+# Whether or not overflow checks are enabled for the standard library.
+# Overrides the `overflow-checks` option, if defined.
+#
+# Defaults to rust.overflow-checks value
+#overflow-checks-std = rust.overflow-checks (boolean)
+
# Debuginfo level for most of Rust code, corresponds to the `-C debuginfo=N` option of `rustc`.
# `0` - no debug info
# `1` - line tables only - sufficient to generate backtraces that include line