[Bug 258367] textproc/ripgrep: limit RUSTC_BOOTSTRAP impact (SIMD option)

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 08 Sep 2021 15:08:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258367

            Bug ID: 258367
           Summary: textproc/ripgrep: limit RUSTC_BOOTSTRAP impact (SIMD
                    option)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
                CC: petteri.valkonen@iki.fi
             Flags: maintainer-feedback?(petteri.valkonen@iki.fi)
                CC: petteri.valkonen@iki.fi

Created attachment 227764
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=227764&action=edit
v1 (apply via "git am")

With Rust >= 1.50 (since ports 6bebfaa8a06c) RUSTC_BOOTSTRAP=1 can be limited
to RUSTC_BOOTSTRAP=<crate>,<crate>,... as described in
https://github.com/rust-lang/rust/pull/77802 This slightly increases
maintenance (have to track which crates need RUSTC_BOOTSTRAP) but reduces the
scope of unstable features. Doesn't seem to affect runtime i.e., the binary
appears to be identical (tested on 12.2 amd64).

$ sha256 rg*
SHA256 (rg-new) =
2989083ba356013dc3b8b484470fd41a9660a4cf46d8abdc2cddad5b728daf10
SHA256 (rg-old) =
2989083ba356013dc3b8b484470fd41a9660a4cf46d8abdc2cddad5b728daf10

-- 
You are receiving this mail because:
You are the assignee for the bug.