summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO34
-rw-r--r--PKGBUILD18
-rw-r--r--mingw-config.toml62
3 files changed, 73 insertions, 41 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 61cdd3f12b78..935d3f96cab1 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.45.2
+ pkgver = 1.46.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.44.0-x86_64-unknown-linux-gnu.tar.xz
- noextract = rustc-1.44.0-x86_64-unknown-linux-gnu.tar.xz
- noextract = cargo-0.45.0-x86_64-unknown-linux-gnu.tar.xz
+ noextract = rust-std-1.45.2-x86_64-unknown-linux-gnu.tar.xz
+ noextract = rustc-1.45.2-x86_64-unknown-linux-gnu.tar.xz
+ noextract = cargo-0.46.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.45.2-src.tar.xz
- source = https://static.rust-lang.org/dist/rustc-1.45.2-src.tar.xz.asc
- source = https://static.rust-lang.org/dist/2020-06-04/rust-std-1.44.0-x86_64-unknown-linux-gnu.tar.xz
- source = https://static.rust-lang.org/dist/2020-06-04/rust-std-1.44.0-x86_64-unknown-linux-gnu.tar.xz.asc
- source = https://static.rust-lang.org/dist/2020-06-04/rustc-1.44.0-x86_64-unknown-linux-gnu.tar.xz
- source = https://static.rust-lang.org/dist/2020-06-04/rustc-1.44.0-x86_64-unknown-linux-gnu.tar.xz.asc
- source = https://static.rust-lang.org/dist/2020-06-04/cargo-0.45.0-x86_64-unknown-linux-gnu.tar.xz
- source = https://static.rust-lang.org/dist/2020-06-04/cargo-0.45.0-x86_64-unknown-linux-gnu.tar.xz.asc
+ source = https://static.rust-lang.org/dist/rustc-1.46.0-src.tar.xz
+ source = https://static.rust-lang.org/dist/rustc-1.46.0-src.tar.xz.asc
+ source = https://static.rust-lang.org/dist/2020-08-03/rust-std-1.45.2-x86_64-unknown-linux-gnu.tar.xz
+ source = https://static.rust-lang.org/dist/2020-08-03/rust-std-1.45.2-x86_64-unknown-linux-gnu.tar.xz.asc
+ source = https://static.rust-lang.org/dist/2020-08-03/rustc-1.45.2-x86_64-unknown-linux-gnu.tar.xz
+ source = https://static.rust-lang.org/dist/2020-08-03/rustc-1.45.2-x86_64-unknown-linux-gnu.tar.xz.asc
+ source = https://static.rust-lang.org/dist/2020-08-03/cargo-0.46.1-x86_64-unknown-linux-gnu.tar.xz
+ source = https://static.rust-lang.org/dist/2020-08-03/cargo-0.46.1-x86_64-unknown-linux-gnu.tar.xz.asc
source = mingw-config.toml
validpgpkeys = 108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE
- sha256sums = f8412adac2f5d974b2f06c5bd4be7361084d18a678d098bf05de5ccfa57b74a9
+ sha256sums = 865dae1290a205f16ded8818c6a0254cc32862985fc250a602a70285b7d92b82
sha256sums = SKIP
- sha256sums = 122b2a909fc185c6ae5a0110af6f60699f4332b4fb3c43698b14a873fbe65b6e
+ sha256sums = 02309322467af8e37256ccf1f064f5233c7fca4423dffde0bd5eb32cde46942a
sha256sums = SKIP
- sha256sums = fe1d8d81950eea1f67219abc49bc1ae88b2b27fd02d1bffa38b43bc5bff05124
+ sha256sums = 0be5c8506fd9317c7d0dc8044b5fef8501caa74f88a9a22be795d68362dc57f6
sha256sums = SKIP
- sha256sums = 4ee5811bfb5fd0eb26fcf7f9b57f4e8fced458219ba52bff6d2474321ff39c18
+ sha256sums = a27eb5d47b520ef2c554605bf789f80652af63531b4f6a1195d61b3dfd0f6e9c
sha256sums = SKIP
- sha256sums = bed4a7d3d39ef1c996f4abb4199e2e65b5912c48d04ae73c036eea6698951d8c
+ sha256sums = 997cb1baafa6262b63ac0b3aa3e030c81f463823285a25079938eac6e580c096
pkgname = mingw-w64-rust
diff --git a/PKGBUILD b/PKGBUILD
index 91d2673c2bf2..84d88fc71881 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,13 +5,13 @@
# Contributor: userwithuid < userwithuid at gmail dot com >
_pkgname=rust
-_date=2020-06-04
-_rustc=1.44.0
-_cargo=0.45.0
+_date=2020-08-03
+_rustc=1.45.2
+_cargo=0.46.1
pkgname=mingw-w64-rust
_prefix=opt/rust
-pkgver=1.45.2
+pkgver=1.46.0
pkgrel=1
pkgdesc="Systems programming language focused on safety, speed and concurrency (mingw-w64)"
arch=('x86_64')
@@ -39,15 +39,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-${_cargo}-x86_64-unknown-linux-gnu.tar.xz")
-sha256sums=('f8412adac2f5d974b2f06c5bd4be7361084d18a678d098bf05de5ccfa57b74a9'
+sha256sums=('865dae1290a205f16ded8818c6a0254cc32862985fc250a602a70285b7d92b82'
'SKIP'
- '122b2a909fc185c6ae5a0110af6f60699f4332b4fb3c43698b14a873fbe65b6e'
+ '02309322467af8e37256ccf1f064f5233c7fca4423dffde0bd5eb32cde46942a'
'SKIP'
- 'fe1d8d81950eea1f67219abc49bc1ae88b2b27fd02d1bffa38b43bc5bff05124'
+ '0be5c8506fd9317c7d0dc8044b5fef8501caa74f88a9a22be795d68362dc57f6'
'SKIP'
- '4ee5811bfb5fd0eb26fcf7f9b57f4e8fced458219ba52bff6d2474321ff39c18'
+ 'a27eb5d47b520ef2c554605bf789f80652af63531b4f6a1195d61b3dfd0f6e9c'
'SKIP'
- 'bed4a7d3d39ef1c996f4abb4199e2e65b5912c48d04ae73c036eea6698951d8c')
+ '997cb1baafa6262b63ac0b3aa3e030c81f463823285a25079938eac6e580c096')
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 4aad9fa994df..ee1485d5d20b 100644
--- a/mingw-config.toml
+++ b/mingw-config.toml
@@ -118,18 +118,24 @@ allow-old-toolchain = false
# nightlies are already produced for. The current platform must be able to run
# binaries of this build triple and the nightly will be used to bootstrap the
# first compiler.
-build = "x86_64-unknown-linux-gnu" # defaults to your host platform
+#
+# Defaults to host platform
+build = "x86_64-unknown-linux-gnu"
# In addition to the build triple, other triples to produce full compiler
# toolchains for. Each of these triples will be bootstrapped from the build
# triple and then will continue to bootstrap themselves. This platform must
# currently be able to run all of the triples provided here.
-host = ["x86_64-unknown-linux-gnu"] # defaults to just the build triple
+#
+# Defaults to just the build triple
+host = ["x86_64-unknown-linux-gnu"]
# In addition to all host triples, other triples to produce the standard library
# for. Each host triple will be used to produce a copy of the standard library
# for each target triple.
-target = ["x86_64-unknown-linux-gnu", "i686-pc-windows-gnu", "x86_64-pc-windows-gnu"] # defaults to just the build triple
+#
+# Defaults to just the build triple
+target = ["x86_64-unknown-linux-gnu", "i686-pc-windows-gnu", "x86_64-pc-windows-gnu"]
# Use this directory to store build artifacts.
# You can use "$ROOT" to indicate the root of the git repository.
@@ -174,7 +180,7 @@ nodejs = "node"
# Python interpreter to use for various tasks throughout the build, notably
# rustdoc tests, the lldb python interpreter, and some dist bits and pieces.
#
-# Defaults to the Python interpreter used to execute x.py.
+# Defaults to the Python interpreter used to execute x.py
python = "python"
# Force Cargo to check that Cargo.lock describes the precise dependency
@@ -209,7 +215,8 @@ verbose = 0
# Build the sanitizer runtimes
sanitizers = false
-# Build the profiler runtime
+# Build the profiler runtime (required when compiling with options that depend
+# on this runtime, such as `-C profile-generate` or `-Z instrument-coverage`).
profiler = false
# Indicates whether the native libraries linked into Cargo will be statically
@@ -311,29 +318,45 @@ codegen-units = 0
codegen-units-std = 1
# Whether or not debug assertions are enabled for the compiler and standard
-# library.
+# library. Debug assertions control the maximum log level used by rustc. When
+# enabled calls to `trace!` and `debug!` macros are preserved in the compiled
+# binary, otherwise they are omitted.
+#
+# Defaults to rust.debug value
debug-assertions = false
# Whether or not debug assertions are enabled for the standard library.
# Overrides the `debug-assertions` option, if defined.
+#
+# Defaults to rust.debug-assertions value
debug-assertions-std = false
# Debuginfo level for most of Rust code, corresponds to the `-C debuginfo=N` option of `rustc`.
# `0` - no debug info
-# `1` - line tables only
+# `1` - line tables only - sufficient to generate backtraces that include line
+# information and inlined functions, set breakpoints at source code
+# locations, and step through execution in a debugger.
# `2` - full debug info with variable and type information
-# Can be overriden for specific subsets of Rust code (rustc, std or tools).
+# Can be overridden for specific subsets of Rust code (rustc, std or tools).
# Debuginfo for tests run with compiletest is not controlled by this option
# and needs to be enabled separately with `debuginfo-level-tests`.
+#
+# Defaults to 2 if debug is true
debuginfo-level = 1
# Debuginfo level for the compiler.
+#
+# Defaults to rust.debuginfo-level value
debuginfo-level-rustc = 0
# Debuginfo level for the standard library.
+#
+# Defaults to rust.debuginfo-level value
debuginfo-level-std = 1
# Debuginfo level for the tools.
+#
+# Defaults to rust.debuginfo-level value
debuginfo-level-tools = 0
# Debuginfo level for the test suites run with compiletest.
@@ -359,7 +382,7 @@ default-linker = "cc"
# nightly features
channel = "stable"
-# The root location of the MUSL installation directory.
+# The root location of the musl installation directory.
#musl-root = "..."
# By default the `rustc` executable is built with `-Wl,-rpath` flags on Unix
@@ -502,12 +525,15 @@ linker = "cc"
# only use static libraries. If unset, the target's default linkage is used.
crt-static = false
-# The root location of the MUSL installation directory. The library directory
+# The root location of the musl installation directory. The library directory
# will also need to contain libunwind.a for an unwinding implementation. Note
-# that this option only makes sense for MUSL targets that produce statically
+# that this option only makes sense for musl targets that produce statically
# linked binaries
#musl-root = "..."
+# The full path to the musl libdir.
+#musl-libdir = musl-root/lib
+
# The root location of the `wasm32-wasi` sysroot.
#wasi-root = "..."
@@ -560,12 +586,15 @@ linker = "i686-w64-mingw32-cc"
# only use static libraries. If unset, the target's default linkage is used.
crt-static = true
-# The root location of the MUSL installation directory. The library directory
+# The root location of the musl installation directory. The library directory
# will also need to contain libunwind.a for an unwinding implementation. Note
-# that this option only makes sense for MUSL targets that produce statically
+# that this option only makes sense for musl targets that produce statically
# linked binaries
#musl-root = "..."
+# The full path to the musl libdir.
+#musl-libdir = musl-root/lib
+
# The root location of the `wasm32-wasi` sysroot.
#wasi-root = "..."
@@ -618,12 +647,15 @@ linker = "x86_64-w64-mingw32-cc"
# only use static libraries. If unset, the target's default linkage is used.
crt-static = true
-# The root location of the MUSL installation directory. The library directory
+# The root location of the musl installation directory. The library directory
# will also need to contain libunwind.a for an unwinding implementation. Note
-# that this option only makes sense for MUSL targets that produce statically
+# that this option only makes sense for musl targets that produce statically
# linked binaries
#musl-root = "..."
+# The full path to the musl libdir.
+#musl-libdir = musl-root/lib
+
# The root location of the `wasm32-wasi` sysroot.
#wasi-root = "..."