From 6a4c10c36be5892fea9866d531965ee81dc3a5ff Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Mon, 20 Nov 2023 07:22:33 +0100 Subject: [PATCH] rust: 1.73.0 -> 1.74.0 (#46) * rust: 1.73.0 -> 1.74.0 * rust: don't use sccache and removed invalid signature --- rust/.footprint | 111 ++++++++---------- rust/.signature | 10 -- ...ompiler-Use-wasm-ld-for-wasm-targets.patch | 24 ++++ rust/Pkgfile | 20 ++-- rust/maintainer_clean_footprint | 2 +- 5 files changed, 84 insertions(+), 83 deletions(-) delete mode 100644 rust/.signature create mode 100644 rust/0004-compiler-Use-wasm-ld-for-wasm-targets.patch diff --git a/rust/.footprint b/rust/.footprint index 469d3ac..4b8a0b9 100644 --- a/rust/.footprint +++ b/rust/.footprint @@ -14,47 +14,15 @@ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/rustdoc -rwxr-xr-x root/root usr/bin/rustfmt drwxr-xr-x root/root usr/lib/ --rw-r--r-- root/root usr/lib/librustc_driver-81ffce74da5e1ca5.so --rw-r--r-- root/root usr/lib/libstd-02faebbc398a0182.so --rw-r--r-- root/root usr/lib/libtest-378f3ad1fa433ba7.so -rwxr-xr-x root/root usr/lib/rust-analyzer-proc-macro-srv drwxr-xr-x root/root usr/lib/rustlib/ drwxr-xr-x root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/ drwxr-xr-x root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/ --rw-r--r-- root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libaddr2line-e391902f6f4d4e6f.rlib --rw-r--r-- root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libadler-7251d81a8eaef18a.rlib --rw-r--r-- root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/liballoc-d9ac13272e1c4e1d.rlib --rw-r--r-- root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libcfg_if-ff7e95c511cc621b.rlib --rw-r--r-- root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libcompiler_builtins-9c57eaf4ab100e07.rlib --rw-r--r-- root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libcore-c17ede1b429b4381.rlib --rw-r--r-- root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libgetopts-d25055d3cf949d9a.rlib --rw-r--r-- root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libgimli-326c9d09285d2af0.rlib --rw-r--r-- root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libhashbrown-ed7a3c6204a1ec9a.rlib --rw-r--r-- root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/liblibc-99d33c0c301be0f1.rlib --rw-r--r-- root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libmemchr-064302fa9af072d3.rlib --rw-r--r-- root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libminiz_oxide-a6f5138c69abecb5.rlib --rw-r--r-- root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libobject-4530055c590fdbfb.rlib --rw-r--r-- root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libpanic_abort-217c6b0191c2c5a2.rlib --rw-r--r-- root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libpanic_unwind-eeb3aa8abaa49f18.rlib --rw-r--r-- root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libproc_macro-37fe92a5d84492aa.rlib --rw-r--r-- root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libprofiler_builtins-cad2bde8bbf4d5dd.rlib -rw-r--r-- root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc-stable_rt.asan.a -rw-r--r-- root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc-stable_rt.hwasan.a -rw-r--r-- root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc-stable_rt.lsan.a -rw-r--r-- root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc-stable_rt.msan.a -rw-r--r-- root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc-stable_rt.tsan.a --rw-r--r-- root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_demangle-c6a56dcd2e480aa1.rlib --rw-r--r-- root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-35cf8b4d3f69673e.rlib --rw-r--r-- root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_std_workspace_core-f9ef4c40a69f7f8c.rlib --rw-r--r-- root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_std_workspace_std-d4fec8ce9df25b68.rlib --rw-r--r-- root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libstd-02faebbc398a0182.rlib --rwxr-xr-x root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libstd-02faebbc398a0182.so --rw-r--r-- root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libstd_detect-539fd9587cabfae4.rlib --rw-r--r-- root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libsysroot-21e4a9c2151e9b70.rlib --rw-r--r-- root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libtest-378f3ad1fa433ba7.rlib --rwxr-xr-x root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libtest-378f3ad1fa433ba7.so --rw-r--r-- root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libunicode_width-9e0ff42ef974a428.rlib --rw-r--r-- root/root usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libunwind-1802004f2859acee.rlib drwxr-xr-x root/root usr/lib/rustlib/etc/ -rw-r--r-- root/root usr/lib/rustlib/etc/gdb_load_rust_pretty_printers.py -rw-r--r-- root/root usr/lib/rustlib/etc/gdb_lookup.py @@ -202,6 +170,7 @@ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/alloc/tests/ 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/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.toml -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/backtrace/LICENSE-APACHE @@ -336,16 +305,6 @@ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/core/benches/str/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/benches/str/char_count.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/benches/str/corpora.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/benches/tuple.rs -drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/core/primitive_docs/ --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/primitive_docs/box_into_raw.md --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/primitive_docs/fs_file.md --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/primitive_docs/io_bufread.md --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/primitive_docs/io_read.md --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/primitive_docs/io_seek.md --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/primitive_docs/io_write.md --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/primitive_docs/net_tosocketaddrs.md --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/primitive_docs/process_exit.md --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/primitive_docs/string_string.md drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/core/src/ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/core/src/alloc/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/core/src/alloc/global.rs @@ -920,16 +879,6 @@ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/benches/hash/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/benches/hash/set_ops.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/benches/lib.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/build.rs -drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/primitive_docs/ --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/primitive_docs/box_into_raw.md --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/primitive_docs/fs_file.md --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/primitive_docs/io_bufread.md --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/primitive_docs/io_read.md --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/primitive_docs/io_seek.md --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/primitive_docs/io_write.md --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/primitive_docs/net_tosocketaddrs.md --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/primitive_docs/process_exit.md --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/primitive_docs/string_string.md drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/alloc.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/ascii.rs @@ -1075,6 +1024,10 @@ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/os/horizon/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/os/horizon/fs.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/os/horizon/mod.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/os/horizon/raw.rs +drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/os/hurd/ +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/os/hurd/fs.rs +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/os/hurd/mod.rs +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/os/hurd/raw.rs drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/os/illumos/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/os/illumos/fs.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/os/illumos/mod.rs @@ -1132,6 +1085,9 @@ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/os/solid/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/os/solid/ffi.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/os/solid/io.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/os/solid/mod.rs +drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/os/uefi/ +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/os/uefi/env.rs +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/os/uefi/mod.rs drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/os/unix/ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/os/unix/ffi/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/os/unix/ffi/mod.rs @@ -1194,6 +1150,18 @@ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/os/windows/io/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/os/windows/process.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/os/windows/raw.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/os/windows/thread.rs +drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/os/xous/ +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/os/xous/ffi.rs +drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/os/xous/ffi/ +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/os/xous/ffi/definitions.rs +drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/os/xous/ffi/definitions/ +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/os/xous/ffi/definitions/memoryflags.rs +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/os/xous/mod.rs +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/os/xous/services.rs +drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/os/xous/services/ +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/os/xous/services/log.rs +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/os/xous/services/systime.rs +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/os/xous/services/ticktimer.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/panic.rs drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/panic/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/panic/tests.rs @@ -1204,7 +1172,6 @@ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/path/ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/prelude/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/prelude/mod.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/prelude/v1.rs --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/primitive_docs.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/process.rs drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/process/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/process/tests.rs @@ -1364,6 +1331,14 @@ 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/thread_local_dtor.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/solid/thread_local_key.rs -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/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/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 -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/unix/android.rs @@ -1519,6 +1494,19 @@ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/sys/windows/thread -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/windows/thread_local_key/tests.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/windows/thread_parking.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/windows/time.rs +drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/sys/xous/ +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/xous/alloc.rs +drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/sys/xous/locks/ +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/xous/locks/condvar.rs +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/xous/locks/mod.rs +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/xous/locks/mutex.rs +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/xous/locks/rwlock.rs +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/xous/mod.rs +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/xous/os.rs +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/xous/stdio.rs +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/xous/thread.rs +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/xous/thread_local_key.rs +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys/xous/time.rs drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/std/src/sys_common/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/std/src/sys_common/fs.rs @@ -1641,7 +1629,6 @@ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/rustfmt.toml drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/aarch64/ --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/aarch64/armclang.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/aarch64/crc.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/aarch64/mod.rs drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/aarch64/neon/ @@ -1650,17 +1637,12 @@ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/s -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/aarch64/prefetch.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/aarch64/test_support.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/aarch64/tme.rs --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/aarch64/v8.rs drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm/ --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm/armclang.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm/dsp.rs --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm/ex.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm/mod.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm/neon.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm/sat.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm/simd32.rs --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm/v6.rs --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm/v7.rs drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm_shared/ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm_shared/barrier/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm_shared/barrier/common.rs @@ -1679,11 +1661,6 @@ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/s -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm_shared/neon/shift_and_insert_tests.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm_shared/neon/store_tests.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm_shared/neon/table_lookup_tests.rs -drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm_shared/registers/ --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm_shared/registers/aarch32.rs --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm_shared/registers/mod.rs --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm_shared/registers/v6m.rs --rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm_shared/registers/v7m.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm_shared/test_support.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/core_arch_docs.md -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/lib.rs @@ -1701,11 +1678,17 @@ drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/s -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/powerpc/vsx.rs drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/powerpc64/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/powerpc64/mod.rs +drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/riscv32/ +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/riscv32/mod.rs +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/riscv32/zk.rs drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/riscv64/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/riscv64/mod.rs +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/riscv64/zk.rs drwxr-xr-x root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/riscv_shared/ -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/riscv_shared/mod.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/riscv_shared/p.rs +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/riscv_shared/zb.rs +-rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/riscv_shared/zk.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/simd.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/simd_llvm.rs -rw-r--r-- root/root usr/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/v64.rs diff --git a/rust/.signature b/rust/.signature deleted file mode 100644 index 7ffbce1..0000000 --- a/rust/.signature +++ /dev/null @@ -1,10 +0,0 @@ -untrusted comment: verify with /etc/ports/opt-arm64.pub -RWRitF9a2DJqMbJaQWuGnEmONJHnsRCc0VAjQrT99kTPSahfLRzCV8bKQQ2zC3njvDelUR7RKrhc2HzC55FUidGzSlp/YNrs2Qw= -SHA256 (Pkgfile) = d245fd84f03e8477a584b5c61f8eced6e7f82de16fb2675109f95eb6f49878b5 -SHA256 (.footprint) = 8531b6bc315ae9290490e3f6dde1068ae4225c767ace74556815f2eeff32cc23 -SHA256 (rustc-1.73.0-src.tar.xz) = 6eaf672dbea2e6596af8c999f5e6924b9af4bb8b02166bfe0b928e68aa75ae62 -SHA256 (rust-std-1.72.0-aarch64-unknown-linux-gnu.tar.xz) = 41d259c6f84280fd0e7719fea03a7583ba54e33e8ac32a2a7b703ffb0aebb7d9 -SHA256 (rustc-1.72.0-aarch64-unknown-linux-gnu.tar.xz) = 1948a80453956d494457dcced1942e2e204fb26d4e57e718ef1c7aa378efbedb -SHA256 (cargo-1.72.0-aarch64-unknown-linux-gnu.tar.xz) = 95741a4cd2073adbd74a7c5596bb912abf4b2dfe00d70a9919cba4a836b7a0ff -SHA256 (0001-bootstrap-Change-libexec-dir.patch) = bef7b7df03d14d7ecbc95521463c1b870680a3e54238fb63679a184b56d4be83 -SHA256 (0002-compiler-Change-LLVM-targets.patch) = 4a4ff5c294acc0b1ca800856218770f6330a878acee72193aa456d82846a8a28 diff --git a/rust/0004-compiler-Use-wasm-ld-for-wasm-targets.patch b/rust/0004-compiler-Use-wasm-ld-for-wasm-targets.patch new file mode 100644 index 0000000..b43582b --- /dev/null +++ b/rust/0004-compiler-Use-wasm-ld-for-wasm-targets.patch @@ -0,0 +1,24 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: "Jan Alexander Steffens (heftig)" +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 +@@ -89,8 +89,7 @@ macro_rules! args { + // arguments just yet + limit_rdylib_exports: false, + +- // we use the LLD shipped with the Rust toolchain by default +- linker: Some("rust-lld".into()), ++ linker: Some("wasm-ld".into()), + linker_flavor: LinkerFlavor::WasmLld(Cc::No), + + pre_link_args, diff --git a/rust/Pkgfile b/rust/Pkgfile index acdc2fe..0d61b97 100755 --- a/rust/Pkgfile +++ b/rust/Pkgfile @@ -6,9 +6,9 @@ # Optional: ccache libgit2 lld polly sccache name=rust -version=1.73.0 -_date=2023-08-24 -_rustc=1.72.0 +version=1.74.0 +_date=2023-10-05 +_rustc=1.73.0 _cargo=$_rustc release=1 @@ -17,7 +17,8 @@ source=(https://static.rust-lang.org/dist/${name}c-$version-src.tar.xz https://static.rust-lang.org/dist/$_date/rustc-$_rustc-aarch64-unknown-linux-gnu.tar.xz https://static.rust-lang.org/dist/$_date/cargo-$_cargo-aarch64-unknown-linux-gnu.tar.xz 0001-bootstrap-Change-libexec-dir.patch - 0002-compiler-Change-LLVM-targets.patch) + 0002-compiler-Change-LLVM-targets.patch + 0004-compiler-Use-wasm-ld-for-wasm-targets.patch) unpack_source() { for file in ${source[@]}; do @@ -67,6 +68,8 @@ build() { # Use our *-pc-linux-gnu targets, making LTO with clang simpler patch -p1 -i $SRC/0002-compiler-Change-LLVM-targets.patch + patch -p1 -i $SRC/0004-compiler-Use-wasm-ld-for-wasm-targets.patch + cat <<- EOF > $SRC/config.toml changelog-seen = 2 @@ -157,10 +160,11 @@ EOF mkdir "$PKGMK_SOURCE_DIR/rust" || true export CARGO_HOME="$PKGMK_SOURCE_DIR/rust" - if [ -e '/usr/bin/sccache' ]; then - export RUSTC_WRAPPER='/usr/bin/sccache' - export SCCACHE_IDLE_TIMEOUT='1500' - fi + ## sccache currently leads to errors + #if [ -e '/usr/bin/sccache' ]; then + # export RUSTC_WRAPPER='/usr/bin/sccache' + # export SCCACHE_IDLE_TIMEOUT='1500' + #fi #error: field is never read: `id` # --> src/bootstrap/lib.rs:280:5 diff --git a/rust/maintainer_clean_footprint b/rust/maintainer_clean_footprint index f5a6f6a..ca9023e 100755 --- a/rust/maintainer_clean_footprint +++ b/rust/maintainer_clean_footprint @@ -1,5 +1,5 @@ #!/bin/sh rm -f footprint.in mv .footprint footprint.in -egrep -v '[a-z0-9]{16}\.(rlib|json|so)$' footprint.in > .footprint +grep -E -v '[a-z0-9]{16}\.(rlib|json|so)$' footprint.in > .footprint rm -f footprint.in