Skip to content

Commit f54f43d

Browse files
committed
textproc/ripgrep: unbreak AVX=on on i386 after r454995
error[E0432]: unresolved import `simd::x86::avx` --> cargo-crates/bytecount-0.3.2/src/lib.rs:49:16 | 49 | use simd::x86::avx::{LowHigh128, u8x32}; | ^^^ could not find `avx` in `x86` rust-lang/rust#56527 git-svn-id: svn+ssh://svn.freebsd.org/ports/head@486650 35697150-7ecd-e111-bb59-0022644237b5
1 parent 6507760 commit f54f43d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

textproc/ripgrep/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ PCRE2_VARS= CARGO_FEATURES+=pcre2
133133
# unstable features similar to how lang/rust bootstraps. www/firefox
134134
# uses the same hack when building with --enable-rust-simd.
135135
SIMD_MAKE_ENV= RUSTC_BOOTSTRAP=1
136-
SIMD_VARS= CARGO_FEATURES+=simd-accel ${SIMD_VARS_${ARCH}}
136+
SIMD_VARS= CARGO_FEATURES+=simd-accel ${SIMD_VARS_${ARCH}${PORT_OPTIONS:MAVX}}
137137
SIMD_VARS_i386= RUSTFLAGS+="-C target-feature=+sse2"
138138

139139
post-patch:

0 commit comments

Comments
 (0)