summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorpingplug2021-01-03 22:55:24 +0800
committerpingplug2021-01-03 22:55:24 +0800
commit8e64e6ca04164ccdb4f4ff87355cf39e43a3a5ac (patch)
treee088c5278c6a3233d8f54dffb45c01e6ce63282e
parentea5462cec5d59f26b1741533a2dd5efb86a730e2 (diff)
downloadaur-8e64e6ca04164ccdb4f4ff87355cf39e43a3a5ac.tar.gz
Updated to 1.49.0
-rw-r--r--.SRCINFO34
-rw-r--r--PKGBUILD23
-rw-r--r--mingw-config.toml39
3 files changed, 65 insertions, 31 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f7c37abbf2db..644cdeb22a9d 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.48.0
+ pkgver = 1.49.0
pkgrel = 1
url = https://www.rust-lang.org
arch = x86_64
@@ -20,32 +20,32 @@ 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.47.0-x86_64-unknown-linux-gnu.tar.xz
- noextract = rustc-1.47.0-x86_64-unknown-linux-gnu.tar.xz
- noextract = cargo-0.48.0-x86_64-unknown-linux-gnu.tar.xz
+ noextract = rust-std-1.48.0-x86_64-unknown-linux-gnu.tar.xz
+ noextract = rustc-1.48.0-x86_64-unknown-linux-gnu.tar.xz
+ noextract = cargo-1.48.0-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.48.0-src.tar.xz
- source = https://static.rust-lang.org/dist/rustc-1.48.0-src.tar.xz.asc
- source = https://static.rust-lang.org/dist/2020-10-08/rust-std-1.47.0-x86_64-unknown-linux-gnu.tar.xz
- source = https://static.rust-lang.org/dist/2020-10-08/rust-std-1.47.0-x86_64-unknown-linux-gnu.tar.xz.asc
- source = https://static.rust-lang.org/dist/2020-10-08/rustc-1.47.0-x86_64-unknown-linux-gnu.tar.xz
- source = https://static.rust-lang.org/dist/2020-10-08/rustc-1.47.0-x86_64-unknown-linux-gnu.tar.xz.asc
- source = https://static.rust-lang.org/dist/2020-10-08/cargo-0.48.0-x86_64-unknown-linux-gnu.tar.xz
- source = https://static.rust-lang.org/dist/2020-10-08/cargo-0.48.0-x86_64-unknown-linux-gnu.tar.xz.asc
+ source = https://static.rust-lang.org/dist/rustc-1.49.0-src.tar.xz
+ source = https://static.rust-lang.org/dist/rustc-1.49.0-src.tar.xz.asc
+ source = https://static.rust-lang.org/dist/2020-11-19/rust-std-1.48.0-x86_64-unknown-linux-gnu.tar.xz
+ source = https://static.rust-lang.org/dist/2020-11-19/rust-std-1.48.0-x86_64-unknown-linux-gnu.tar.xz.asc
+ source = https://static.rust-lang.org/dist/2020-11-19/rustc-1.48.0-x86_64-unknown-linux-gnu.tar.xz
+ source = https://static.rust-lang.org/dist/2020-11-19/rustc-1.48.0-x86_64-unknown-linux-gnu.tar.xz.asc
+ source = https://static.rust-lang.org/dist/2020-11-19/cargo-1.48.0-x86_64-unknown-linux-gnu.tar.xz
+ source = https://static.rust-lang.org/dist/2020-11-19/cargo-1.48.0-x86_64-unknown-linux-gnu.tar.xz.asc
source = mingw-config.toml
validpgpkeys = 108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE
- sha256sums = ff0a242392a1865d7b2d08eb5ca6c1b3fd0820741d4c13a51a4b2d5d2bb53908
+ sha256sums = ebe910edc824a0a037a10be443446a0511923ba8342fa3c331ec8a22481d5d15
sha256sums = SKIP
- sha256sums = a469db59f7df3a5e4003421d853b274e828b537d2d56fd5ce6bba8ba73266f02
+ sha256sums = 1c00a6a0dabbf6290728b09f9307d9fa6cc985487f727075c68acd4a600ef3f8
sha256sums = SKIP
- sha256sums = 6effe67c3461335eabba2334f4747260bd479c938e635899a60ed094beec7481
+ sha256sums = fc4d292a52cbb6b84fb9f065d0d7596064a9b957381d639d5a750d6e2bf02483
sha256sums = SKIP
- sha256sums = 6958f9797b7acacb708423c61f5e8b23c63d9e96fdc7c07fdb0a3feafeaf27e9
+ sha256sums = b11d595581e2580c069b5039214e1031a0e4f87ff6490ac39f92f77857e37055
sha256sums = SKIP
- sha256sums = 4d59d264afca077ff6a77564ad9027ada0f48975f8801d1024749f47b5efb906
+ sha256sums = a8556558f38164c54cc8b8dc1e38d6ea8e6e0e2db1b1796fc585fcb14255d0f8
pkgname = mingw-w64-rust
diff --git a/PKGBUILD b/PKGBUILD
index 11603ad45eeb..2422b337d8c5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,13 +5,12 @@
# Contributor: userwithuid < userwithuid at gmail dot com >
_pkgname=rust
-_date=2020-10-08
-_rustc=1.47.0
-_cargo=0.48.0
+_date=2020-11-19
+_rustc=1.48.0
pkgname=mingw-w64-rust
_prefix=opt/rust
-pkgver=1.48.0
+pkgver=1.49.0
pkgrel=1
pkgdesc="Systems programming language focused on safety, speed and concurrency (mingw-w64)"
arch=('x86_64')
@@ -34,20 +33,20 @@ options=('!strip' 'staticlibs' '!buildflags')
source=("https://static.rust-lang.org/dist/rustc-${pkgver}-src.tar.xz"{,.asc}
"https://static.rust-lang.org/dist/${_date}/rust-std-${_rustc}-x86_64-unknown-linux-gnu.tar.xz"{,.asc}
"https://static.rust-lang.org/dist/${_date}/rustc-${_rustc}-x86_64-unknown-linux-gnu.tar.xz"{,.asc}
- "https://static.rust-lang.org/dist/${_date}/cargo-${_cargo}-x86_64-unknown-linux-gnu.tar.xz"{,.asc}
+ "https://static.rust-lang.org/dist/${_date}/cargo-${_rustc}-x86_64-unknown-linux-gnu.tar.xz"{,.asc}
"mingw-config.toml")
noextract=("rust-std-${_rustc}-x86_64-unknown-linux-gnu.tar.xz"
"rustc-${_rustc}-x86_64-unknown-linux-gnu.tar.xz"
- "cargo-${_cargo}-x86_64-unknown-linux-gnu.tar.xz")
-sha256sums=('ff0a242392a1865d7b2d08eb5ca6c1b3fd0820741d4c13a51a4b2d5d2bb53908'
+ "cargo-${_rustc}-x86_64-unknown-linux-gnu.tar.xz")
+sha256sums=('ebe910edc824a0a037a10be443446a0511923ba8342fa3c331ec8a22481d5d15'
'SKIP'
- 'a469db59f7df3a5e4003421d853b274e828b537d2d56fd5ce6bba8ba73266f02'
+ '1c00a6a0dabbf6290728b09f9307d9fa6cc985487f727075c68acd4a600ef3f8'
'SKIP'
- '6effe67c3461335eabba2334f4747260bd479c938e635899a60ed094beec7481'
+ 'fc4d292a52cbb6b84fb9f065d0d7596064a9b957381d639d5a750d6e2bf02483'
'SKIP'
- '6958f9797b7acacb708423c61f5e8b23c63d9e96fdc7c07fdb0a3feafeaf27e9'
+ 'b11d595581e2580c069b5039214e1031a0e4f87ff6490ac39f92f77857e37055'
'SKIP'
- '4d59d264afca077ff6a77564ad9027ada0f48975f8801d1024749f47b5efb906')
+ 'a8556558f38164c54cc8b8dc1e38d6ea8e6e0e2db1b1796fc585fcb14255d0f8')
validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag and Release Signing Key) <rust-key@rust-lang.org>
backup=("opt/rust/cargo/config")
@@ -64,7 +63,7 @@ prepare() {
mkdir -p "${srcdir}/rustc-${pkgver}-src/build/cache/${_date}"
cp rust-std-${_rustc}-x86_64-unknown-linux-gnu.tar.xz "rustc-${pkgver}-src/build/cache/${_date}"
cp rustc-${_rustc}-x86_64-unknown-linux-gnu.tar.xz "rustc-${pkgver}-src/build/cache/${_date}"
- cp cargo-${_cargo}-x86_64-unknown-linux-gnu.tar.xz "rustc-${pkgver}-src/build/cache/${_date}"
+ cp cargo-${_rustc}-x86_64-unknown-linux-gnu.tar.xz "rustc-${pkgver}-src/build/cache/${_date}"
}
build() {
diff --git a/mingw-config.toml b/mingw-config.toml
index 523341776a96..98699f919166 100644
--- a/mingw-config.toml
+++ b/mingw-config.toml
@@ -138,6 +138,9 @@ use-libcxx = false
# Whether or not to specify `-DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=YES`
allow-old-toolchain = false
+# Whether to include the Polly optimizer.
+polly = false
+
# =============================================================================
# General build configuration options
# =============================================================================
@@ -382,6 +385,10 @@ debug-assertions-std = false
# Overrides the `debug-assertions` option, if defined.
#
# Defaults to rust.debug-assertions value
+#
+# If you see a message from `tracing` saying
+# `max_level_info` is enabled and means logging won't be shown,
+# set this value to `true`.
debug-logging = false
# Debuginfo level for most of Rust code, corresponds to the `-C debuginfo=N` option of `rustc`.
@@ -474,7 +481,7 @@ dist-src = false
# This is an array of the codegen backends that will be compiled for the rustc
# that's being compiled. The default is to only build the LLVM codegen backend,
-# and currently the only standard option supported is `"llvm"`
+# and currently the only standard options supported are `"llvm"` and `"cranelift"`.
codegen-backends = ["llvm"]
# Indicates whether LLD will be compiled and made available in the sysroot for
@@ -523,7 +530,8 @@ jemalloc = false
test-compare-mode = false
# Use LLVM libunwind as the implementation for Rust's unwinder.
-llvm-libunwind = false
+# Accepted values are 'in-tree' (formerly true), 'system' or 'no' (formerly false).
+llvm-libunwind = 'no'
# Enable Windows Control Flow Guard checks in the standard library.
# This only applies from stage 1 onwards, and only for Windows targets.
@@ -578,6 +586,15 @@ linker = "cc"
# build native code.
#android-ndk = "/path/to/ndk"
+# Build the sanitizer runtimes for this target.
+# This option will override the same option under [build] section.
+#sanitizers = false
+
+# Build the profiler runtime for this target(required when compiling with options that depend
+# on this runtime, such as `-C profile-generate` or `-Z instrument-coverage`).
+# This option will override the same option under [build] section.
+#profiler = false
+
# Force static or dynamic linkage of the standard library for this target. If
# this target is a host for rustc, this will also affect the linkage of the
# compiler itself. This is useful for building rustc on targets that normally
@@ -639,6 +656,15 @@ linker = "i686-w64-mingw32-cc"
# build native code.
#android-ndk = "/path/to/ndk"
+# Build the sanitizer runtimes for this target.
+# This option will override the same option under [build] section.
+#sanitizers = false
+
+# Build the profiler runtime for this target(required when compiling with options that depend
+# on this runtime, such as `-C profile-generate` or `-Z instrument-coverage`).
+# This option will override the same option under [build] section.
+#profiler = false
+
# Force static or dynamic linkage of the standard library for this target. If
# this target is a host for rustc, this will also affect the linkage of the
# compiler itself. This is useful for building rustc on targets that normally
@@ -700,6 +726,15 @@ linker = "x86_64-w64-mingw32-cc"
# build native code.
#android-ndk = "/path/to/ndk"
+# Build the sanitizer runtimes for this target.
+# This option will override the same option under [build] section.
+#sanitizers = false
+
+# Build the profiler runtime for this target(required when compiling with options that depend
+# on this runtime, such as `-C profile-generate` or `-Z instrument-coverage`).
+# This option will override the same option under [build] section.
+#profiler = false
+
# Force static or dynamic linkage of the standard library for this target. If
# this target is a host for rustc, this will also affect the linkage of the
# compiler itself. This is useful for building rustc on targets that normally