ports/opt (3.7): rust: 1.74.1 -> 1.75.0
commit 936ceee787d2aa0fbec05d0b4cce1c176c939605 Author: Tim Biermann <tbier@posteo.de> Date: Thu Dec 28 23:19:39 2023 +0100 rust: 1.74.1 -> 1.75.0 diff --git a/rust/.footprint b/rust/.footprint index 3d90995db..ac5c99ccd 100644 --- a/rust/.footprint +++ b/rust/.footprint @@ -166,9 +166,15 @@ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/alloc/tests/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/alloc/tests/vec_deque.rs drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/backtrace/ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/backtrace/.github/ +drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/backtrace/.github/actions/ +drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/backtrace/.github/actions/build-with-patched-std/ +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/backtrace/.github/actions/build-with-patched-std/action.yml +drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/backtrace/.github/actions/report-code-size-changes/ +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/backtrace/.github/actions/report-code-size-changes/action.yml drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/backtrace/.github/workflows/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/backtrace/.github/workflows/check-binary-size.yml -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/backtrace/.github/workflows/main.yml +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/backtrace/Cargo.lock -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/backtrace/Cargo.toml -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/backtrace/LICENSE-APACHE -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/backtrace/LICENSE-MIT @@ -219,7 +225,6 @@ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/backtrace/examples/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/backtrace/examples/backtrace.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/backtrace/examples/raw.rs drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/backtrace/src/ --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/backtrace/src/android-api.c drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/backtrace/src/backtrace/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/backtrace/src/backtrace/dbghelp.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/backtrace/src/backtrace/libunwind.rs @@ -238,6 +243,7 @@ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/backtrace/src/symbolize/ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/coff.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/elf.rs +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/libs_aix.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/libs_dl_iterate_phdr.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/libs_haiku.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/libs_illumos.rs @@ -250,6 +256,7 @@ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/backtrace/src/symbolize/gi -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/mmap_windows.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/parse_running_mmaps_unix.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/stash.rs +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/xcoff.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/backtrace/src/symbolize/miri.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/backtrace/src/symbolize/mod.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/backtrace/src/symbolize/noop.rs @@ -264,6 +271,7 @@ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/backtrace/tests/common/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/backtrace/tests/concurrent-panics.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/backtrace/tests/current-exe-mismatch.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/backtrace/tests/long_fn_name.rs +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/backtrace/tests/sgx-image-base.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/backtrace/tests/skip_inner_frames.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/backtrace/tests/smoke.rs drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/core/ @@ -385,6 +393,9 @@ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/core/src/hash/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/src/intrinsics.rs drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/core/src/intrinsics/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/src/intrinsics/mir.rs +drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/core/src/io/ +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/src/io/borrowed_buf.rs +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/src/io/mod.rs drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/core/src/iter/ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/core/src/iter/adapters/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/src/iter/adapters/array_chunks.rs @@ -418,8 +429,8 @@ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/core/src/iter/adapters/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/src/iter/sources.rs drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/core/src/iter/sources/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/src/iter/sources/empty.rs +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/src/iter/sources/from_coroutine.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/src/iter/sources/from_fn.rs --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/src/iter/sources/from_generator.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/src/iter/sources/once.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/src/iter/sources/once_with.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/src/iter/sources/repeat.rs @@ -501,10 +512,10 @@ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/core/src/ops/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/src/ops/arith.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/src/ops/bit.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/src/ops/control_flow.rs +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/src/ops/coroutine.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/src/ops/deref.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/src/ops/drop.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/src/ops/function.rs --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/src/ops/generator.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/src/ops/index.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/src/ops/index_range.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/src/ops/mod.rs @@ -599,6 +610,9 @@ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/core/tests/hash/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/tests/hash/mod.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/tests/hash/sip.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/tests/intrinsics.rs +drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/core/tests/io/ +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/tests/io/borrowed_buf.rs +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/tests/io/mod.rs drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/core/tests/iter/ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/core/tests/iter/adapters/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/tests/iter/adapters/array_chunks.rs @@ -938,9 +952,6 @@ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/io/impls/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/io/impls/tests.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/io/mod.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/io/prelude.rs --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/io/readbuf.rs -drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/io/readbuf/ --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/io/readbuf/tests.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/io/stdio.rs drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/io/stdio/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/io/stdio/tests.rs @@ -971,6 +982,10 @@ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/num/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/num/benches.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/num/tests.rs drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/os/ +drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/os/aix/ +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/os/aix/fs.rs +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/os/aix/mod.rs +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/os/aix/raw.rs drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/os/android/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/os/android/fs.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/os/android/mod.rs @@ -1330,11 +1345,13 @@ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/sys/solid/abi/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/solid/time.rs drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/sys/uefi/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/uefi/alloc.rs +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/uefi/args.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/uefi/env.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/uefi/helpers.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/uefi/mod.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/uefi/os.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/uefi/path.rs +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/uefi/stdio.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/uefi/tests.rs drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/sys/unix/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/unix/alloc.rs @@ -1382,6 +1399,10 @@ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/sys/unix/process/p drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/sys/unix/process/process_unix/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/unix/process/process_unix/tests.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/unix/process/process_unsupported.rs +drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/sys/unix/process/process_unsupported/ +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/unix/process/process_unsupported/wait_status.rs +drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/sys/unix/process/process_unsupported/wait_status/ +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/unix/process/process_unsupported/wait_status/tests.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/unix/process/process_vxworks.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/unix/process/zircon.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/unix/rand.rs @@ -1444,6 +1465,7 @@ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/sys/windows/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/windows/alloc.rs drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/sys/windows/alloc/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/windows/alloc/tests.rs +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/windows/api.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/windows/args.rs drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/sys/windows/args/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/windows/args/tests.rs @@ -1891,7 +1913,6 @@ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/test/src/term/terminfo/sea -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/test/src/types.rs drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/unwind/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/unwind/Cargo.toml --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/unwind/build.rs drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/unwind/src/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/unwind/src/lib.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/unwind/src/libunwind.rs diff --git a/rust/.signature b/rust/.signature index 86e960bd7..d2fb130cb 100644 --- a/rust/.signature +++ b/rust/.signature @@ -1,11 +1,11 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/Qs4Ap6ts6pZHRuSaCSSE1U5o37zbIoFJWZ8BRZGWD/8MEseE5wqZSqE1J67aQq0yUr9WpHK3AiwxzuilKXgiAs= -SHA256 (Pkgfile) = 07708c2cf2ea65a14edf984a8907ecf01e23ed3f3cbcb26a55db4949a277154d -SHA256 (.footprint) = ae916086532c613a33ae33e3d8de38ed7b5cd3643c6051abcf76fc71b04606cf -SHA256 (rustc-1.74.1-src.tar.xz) = b98c09d968529212fb29eec7d6d3e9bdaa869810679b7fb86a1ca69469d75f5e -SHA256 (rust-std-1.73.0-x86_64-unknown-linux-gnu.tar.xz) = 96efb163a57b400152c357be0ea3a0dd902b56cc0df662b9ac951403c7c7b15b -SHA256 (rustc-1.73.0-x86_64-unknown-linux-gnu.tar.xz) = 14f383eb4d6e65ce01cc99f2c5cf5a78744239f29704f72fe84f11095af779f5 -SHA256 (cargo-1.73.0-x86_64-unknown-linux-gnu.tar.xz) = 7c3ce5738d570eaea97dd3d213ea73c8beda4f0c61e7486f95e497b7b10c4e2d -SHA256 (0001-bootstrap-Change-libexec-dir.patch) = bef7b7df03d14d7ecbc95521463c1b870680a3e54238fb63679a184b56d4be83 -SHA256 (0002-compiler-Change-LLVM-targets.patch) = 4a4ff5c294acc0b1ca800856218770f6330a878acee72193aa456d82846a8a28 -SHA256 (0004-compiler-Use-wasm-ld-for-wasm-targets.patch) = 2d3f60dc86c81d331aa7df331c29289264f57e7b3fc74a32161eff176e24b68f +RWSE3ohX2g5d/XSPog8tzM6Ocdse6WVuVbcfcYXEbbPrg9x1eyBfyhM4YJfru3wCgpphiRIzk7mwbsIdP50y80dAXRuI9BILQwI= +SHA256 (Pkgfile) = 15fedcaaeb97d803c9dabe24dd6b1dcafed29dde0a3d8f48f37f1bb2a2e96ea4 +SHA256 (.footprint) = dfcbc1eb82526273bbefc5a86fd0c00cf9a80f97d1144224a61cb8cb69ff4046 +SHA256 (rustc-1.75.0-src.tar.xz) = 4526f786d673e4859ff2afa0bab2ba13c918b796519a25c1acce06dba9542340 +SHA256 (rust-std-1.74.0-x86_64-unknown-linux-gnu.tar.xz) = 548413213012e2f62b08ed8a913a51210ae7402619027224580176031f2789ea +SHA256 (rustc-1.74.0-x86_64-unknown-linux-gnu.tar.xz) = 7d464be2ae0d6ce69f056d1ea9a8ce2b3b1d537418caea216fdd303903972181 +SHA256 (cargo-1.74.0-x86_64-unknown-linux-gnu.tar.xz) = f219386d4569c40b660518e99267afff428c13bf980bda7a614c8d4038d013f6 +SHA256 (0001-bootstrap-Change-libexec-dir.patch) = d2e847d4b4c1094dcb3cd1062e82881c461b7ca3308dfe7a7b6a0d2ac5bac57d +SHA256 (0002-compiler-Change-LLVM-targets.patch) = 5763ad5153cf27c1b96fe8769d672a5e47961036be4993197ab9b6fe52471d5d +SHA256 (0004-compiler-Use-wasm-ld-for-wasm-targets.patch) = 2d3834dd30a6db114484d3fa61d256a24f9f56aec6989b14a419f6ee742bcb40 diff --git a/rust/0001-bootstrap-Change-libexec-dir.patch b/rust/0001-bootstrap-Change-libexec-dir.patch index 0da42d6bd..fe6b65f19 100644 --- a/rust/0001-bootstrap-Change-libexec-dir.patch +++ b/rust/0001-bootstrap-Change-libexec-dir.patch @@ -1,17 +1,7 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org> -Date: Thu, 6 May 2021 20:14:58 +0200 -Subject: [PATCH] bootstrap: Change libexec dir - ---- - src/bootstrap/dist.rs | 2 +- - src/bootstrap/tool.rs | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs +diff --git a/src/bootstrap/src/core/build_steps/dist.rs b/src/bootstrap/src/core/build_steps/dist.rs index 32da4ac29a46..78a5faeae04b 100644 ---- a/src/bootstrap/dist.rs -+++ b/src/bootstrap/dist.rs +--- a/src/bootstrap/src/core/build_steps/dist.rs ++++ b/src/bootstrap/src/core/build_steps/dist.rs @@ -423,7 +423,7 @@ fn prepare_image(builder: &Builder<'_>, compiler: Compiler, image: &Path) { }, builder.kind, @@ -21,10 +11,10 @@ index 32da4ac29a46..78a5faeae04b 100644 } let libdir_relative = builder.libdir_relative(compiler); -diff --git a/src/bootstrap/tool.rs b/src/bootstrap/tool.rs +diff --git a/src/bootstrap/src/core/build_steps/tool.rs b/src/bootstrap/src/core/build_steps/tool.rs index e6d27757ac66..70e499bdabbe 100644 ---- a/src/bootstrap/tool.rs -+++ b/src/bootstrap/tool.rs +--- a/src/bootstrap/src/core/build_steps/tool.rs ++++ b/src/bootstrap/src/core/build_steps/tool.rs @@ -689,7 +689,7 @@ fn run(self, builder: &Builder<'_>) -> Option<PathBuf> { // Copy `rust-analyzer-proc-macro-srv` to `<sysroot>/libexec/` diff --git a/rust/0002-compiler-Change-LLVM-targets.patch b/rust/0002-compiler-Change-LLVM-targets.patch index 348e4f315..5058a82d0 100644 --- a/rust/0002-compiler-Change-LLVM-targets.patch +++ b/rust/0002-compiler-Change-LLVM-targets.patch @@ -1,28 +1,3 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com> -Date: Fri, 12 Mar 2021 17:31:56 +0100 -Subject: [PATCH] compiler: Change LLVM targets - - - Change x86_64-unknown-linux-gnu to use x86_64-pc-linux-gnu - - Change i686-unknown-linux-gnu to use i686-pc-linux-gnu - -Reintroduce the aliasing that was removed in 1.52.0 and alias the -pc- -triples to the -unknown- triples. This avoids defining proper -pc- -targets, as things break when this is done: - - - The crate ecosystem expects the -unknown- targets. Making -pc- - rustc's host triple (and thus default target) would break various - crates. - - Firefox's build breaks when the host triple (from - `rustc --version --verbose`) is different from the target triple - (from `rustc --print target-list`) that best matches autoconf. ---- - compiler/rustc_session/src/config.rs | 2 +- - compiler/rustc_target/src/spec/i686_unknown_linux_gnu.rs | 2 +- - compiler/rustc_target/src/spec/mod.rs | 9 +++++++++ - .../rustc_target/src/spec/x86_64_unknown_linux_gnu.rs | 2 +- - 4 files changed, 12 insertions(+), 3 deletions(-) - diff --git a/compiler/rustc_session/src/config.rs b/compiler/rustc_session/src/config.rs index f2ee52262ade..6a813c4b8707 100644 --- a/compiler/rustc_session/src/config.rs @@ -38,8 +13,8 @@ index f2ee52262ade..6a813c4b8707 100644 } diff --git a/compiler/rustc_target/src/spec/i686_unknown_linux_gnu.rs b/compiler/rustc_target/src/spec/i686_unknown_linux_gnu.rs index 73e536a7e4d9..af48d437533c 100644 ---- a/compiler/rustc_target/src/spec/i686_unknown_linux_gnu.rs -+++ b/compiler/rustc_target/src/spec/i686_unknown_linux_gnu.rs +--- a/compiler/rustc_target/src/spec/targets/i686_unknown_linux_gnu.rs ++++ b/compiler/rustc_target/src/spec/targets/i686_unknown_linux_gnu.rs @@ -9,7 +9,7 @@ pub fn target() -> Target { base.stack_probes = StackProbeType::X86; @@ -71,8 +46,8 @@ index 8909cf33af91..e5b5bce4c290 100644 /// If this target is a path, the file name (without extension) is returned. diff --git a/compiler/rustc_target/src/spec/x86_64_unknown_linux_gnu.rs b/compiler/rustc_target/src/spec/x86_64_unknown_linux_gnu.rs index a91ab365b668..d605eb9ccf81 100644 ---- a/compiler/rustc_target/src/spec/x86_64_unknown_linux_gnu.rs -+++ b/compiler/rustc_target/src/spec/x86_64_unknown_linux_gnu.rs +--- a/compiler/rustc_target/src/spec/targets/x86_64_unknown_linux_gnu.rs ++++ b/compiler/rustc_target/src/spec/targets/x86_64_unknown_linux_gnu.rs @@ -14,7 +14,7 @@ pub fn target() -> Target { | SanitizerSet::THREAD; diff --git a/rust/0004-compiler-Use-wasm-ld-for-wasm-targets.patch b/rust/0004-compiler-Use-wasm-ld-for-wasm-targets.patch index b43582bf1..269b75215 100644 --- a/rust/0004-compiler-Use-wasm-ld-for-wasm-targets.patch +++ b/rust/0004-compiler-Use-wasm-ld-for-wasm-targets.patch @@ -1,17 +1,7 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org> -Date: Sat, 6 Nov 2021 22:42:06 +0100 -Subject: [PATCH] compiler: Use wasm-ld for wasm targets - -We don't ship rust-lld. ---- - compiler/rustc_target/src/spec/wasm_base.rs | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - diff --git a/compiler/rustc_target/src/spec/wasm_base.rs b/compiler/rustc_target/src/spec/wasm_base.rs index 341763aadbaf..dbb075affc18 100644 ---- a/compiler/rustc_target/src/spec/wasm_base.rs -+++ b/compiler/rustc_target/src/spec/wasm_base.rs +--- a/compiler/rustc_target/src/spec/base/wasm.rs ++++ b/compiler/rustc_target/src/spec/base/wasm.rs @@ -89,8 +89,7 @@ macro_rules! args { // arguments just yet limit_rdylib_exports: false, diff --git a/rust/Pkgfile b/rust/Pkgfile index bb21cf89a..9ac44030f 100644 --- a/rust/Pkgfile +++ b/rust/Pkgfile @@ -5,9 +5,9 @@ # Optional: ccache clang libgit2 lld polly sccache name=rust -version=1.74.1 -_date=2023-10-05 -_rustc=1.73.0 +version=1.75.0 +_date=2023-11-16 +_rustc=1.74.0 _cargo=$_rustc release=1
participants (1)
-
crux@crux.nu