diff --git a/mingw-w64-rust/0008-disable-self-contained.patch b/mingw-w64-rust/0008-disable-self-contained.patch index ae79b524fe9af..1efc324ca482e 100644 --- a/mingw-w64-rust/0008-disable-self-contained.patch +++ b/mingw-w64-rust/0008-disable-self-contained.patch @@ -1,11 +1,9 @@ ---- rustc-1.53.0-src/compiler/rustc_codegen_ssa/src/back/link.rs.orig 2021-07-04 01:49:38.816000000 +0200 -+++ rustc-1.53.0-src/compiler/rustc_codegen_ssa/src/back/link.rs 2021-07-04 12:45:55.559928800 +0200 -@@ -1420,7 +1420,10 @@ - - /// Whether we link to our own CRT objects instead of relying on gcc to pull them. +--- rustc-1.65.0-src/compiler/rustc_codegen_ssa/src/back/link.rs.orig 2022-11-04 12:13:08.779760700 +0100 ++++ rustc-1.65.0-src/compiler/rustc_codegen_ssa/src/back/link.rs 2022-11-04 12:45:45.408162600 +0100 +@@ -1574,6 +1574,8 @@ + /// instead of being found somewhere on the host system. /// We only provide such support for a very limited number of targets. -+#[allow(warnings)] - fn crt_objects_fallback(sess: &Session, crate_type: CrateType) -> bool { + fn self_contained(sess: &Session, crate_type: CrateType) -> bool { + return false; + if let Some(self_contained) = sess.opts.cg.link_self_contained { diff --git a/mingw-w64-rust/PKGBUILD b/mingw-w64-rust/PKGBUILD index d312157f76f45..5d52020a3eb37 100644 --- a/mingw-w64-rust/PKGBUILD +++ b/mingw-w64-rust/PKGBUILD @@ -8,8 +8,8 @@ _bootstrapping=yes pkgbase=mingw-w64-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}" "${MINGW_PACKAGE_PREFIX}-rust-docs") -pkgver=1.64.0 -pkgrel=2 +pkgver=1.65.0 +pkgrel=1 pkgdesc="Systems programming language focused on safety, speed and concurrency (mingw-w64)" arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64') @@ -38,13 +38,13 @@ source=("https://static.rust-lang.org/dist/${_realname}c-${pkgver}-src.tar.gz"{, "0007-clang-subsystem.patch" "0008-disable-self-contained.patch" "0009-build-gnullvm-targets-natively.patch") -sha256sums=('b3cd9f481e1a2901bf6f3808d30c69cc4ea80d93c4cc4e2ed52258b180381205' +sha256sums=('5828bb67f677eabf8c384020582b0ce7af884e1c84389484f7f8d00dd82c0038' 'SKIP' '7cb1773c288ffb1c1e751edc49b1890c84bf9c362742bc5225d19d474edb73a0' '36c531c73a2c12b3e66aa22526a404c3f770f1ab7e0e76c55af6fcc1a17e46fe' 'c4e5ffeef84296d39c3e3e8f807fc8b33ce786b1e4edb21eef26b053586aca27' 'c38450682a48bb1d5a0ddaa37ae5b324d39a9e0626daa2fc695caec1a53d6c35' - '29f84cb8e05ce304e102e28912a3b4464add406a8ec37a6c6d717b9b7d81b67b' + '0fcb85eb9c469ef86361946175382ce18446805863f99b79c5dbe3258ef65a4e' 'c70cb2bceafdd5b0e7d9d58c52a4f5dcff3d639ac57b134a29961d377a97e457') validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE' # Rust Language (Tag and Release Signing Key) '474E22316ABF4785A88C6E8EA2C794A986419D8A' # Tom Stellard