aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2021-09-08 14:38:29 +0000
committerJan Beich <jbeich@FreeBSD.org>2021-09-09 16:07:41 +0000
commita2583240def2008f987f68e24075fddd918d4089 (patch)
tree421da548d6f2fbf482e06f066b234c3aa491644e
parent4a5097a07e6558b4c5ee44de175ace13e4f60517 (diff)
downloadports-a2583240def2008f987f68e24075fddd918d4089.tar.gz
ports-a2583240def2008f987f68e24075fddd918d4089.zip
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)
-rw-r--r--textproc/ripgrep/Makefile5
1 files changed, 1 insertions, 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"