git: a2583240def2 - main - textproc/ripgrep: limit unstable rust features after 6bebfaa8a06c
Jan Beich
jbeich at FreeBSD.org
Thu Sep 9 16:11:42 UTC 2021
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a2583240def2008f987f68e24075fddd918d4089
commit a2583240def2008f987f68e24075fddd918d4089
Author: Jan Beich <jbeich at FreeBSD.org>
AuthorDate: 2021-09-08 14:38:29 +0000
Commit: Jan Beich <jbeich at FreeBSD.org>
CommitDate: 2021-09-09 16:07:41 +0000
textproc/ripgrep: limit unstable rust features after 6bebfaa8a06c
Drop stale comment as it's now evident which crates need unstable features.
PR: 258367
Approved by: Petteri Valkonen (maintainer)
---
textproc/ripgrep/Makefile | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/textproc/ripgrep/Makefile b/textproc/ripgrep/Makefile
index 58dd019ca06f..b1bf0c177621 100644
--- a/textproc/ripgrep/Makefile
+++ b/textproc/ripgrep/Makefile
@@ -107,10 +107,7 @@ PCRE2_DESC= ${PCRE_DESC} version 2
PCRE2_LIB_DEPENDS= libpcre2-8.so:devel/pcre2
PCRE2_VARS= CARGO_FEATURES+=pcre2
-# simd crate uses cfg_target_feature which isn't stable yet, so unlock
-# unstable features similar to how lang/rust bootstraps. www/firefox
-# uses the same hack when building with --enable-rust-simd.
-SIMD_MAKE_ENV= RUSTC_BOOTSTRAP=1
+SIMD_MAKE_ENV= RUSTC_BOOTSTRAP=encoding_rs,packed_simd_2
SIMD_VARS= CARGO_FEATURES+=simd-accel ${SIMD_VARS_${ARCH}}
SIMD_VARS_i386= RUSTFLAGS+="-C target-feature=+sse2"
More information about the dev-commits-ports-all
mailing list