[Bug 274499] lang/rust: Update to 1.73.0

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 24 Oct 2023 10:23:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274499

--- Comment #12 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=b71e4863289c2bb6bf17ef1141f1305488d1b82d

commit b71e4863289c2bb6bf17ef1141f1305488d1b82d
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2023-10-16 08:56:30 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2023-10-24 10:21:44 +0000

    textproc/ripgrep: Fix build with rust 1.73.0

    The crate packed_simd_2 is not maintained anymore.
    firefox switched to packed_simd [1] in [2] but
    it's not yet part of ripgrep 13.0.0
    Backport [3] to fix the following issue:

    error: unrecognized platform-specific intrinsic function: `simd_shuffle2`
      -->
/wrkdirs/usr/ports/textproc/ripgrep/work/ripgrep-13.0.0/cargo-crates/packed_simd_2-0.3.8/src/codegen/llvm.rs:10:5
       |
    10 |     pub fn simd_shuffle2<T, U>(x: T, y: T, idx: [u32; 2]) -> U;
       |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    [1] https://github.com/rust-lang/packed_simd/
    [2]
https://github.com/mozilla/gecko-dev/commit/1e1bec8c6e383abf667d64ba1e556a4e68833f28
    [3]
https://github.com/rust-lang/packed_simd/commit/a79edf4cfc54aad30a5630b217645c4b8274d8f7

    PR:             274499
    Approved by:    portmgr (build fix blanket)

 textproc/ripgrep/files/patch-rust-1.73.0 (new) | 83 ++++++++++++++++++++++++++
 1 file changed, 83 insertions(+)

-- 
You are receiving this mail because:
You are on the CC list for the bug.