Skip to content

Commit

Permalink
textproc/ripgrep: unbreak AVX=on on i386 after r454995
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jbeich committed Dec 5, 2018
1 parent 6507760 commit f54f43d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion textproc/ripgrep/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ PCRE2_VARS= CARGO_FEATURES+=pcre2
# 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_VARS= CARGO_FEATURES+=simd-accel ${SIMD_VARS_${ARCH}}
SIMD_VARS= CARGO_FEATURES+=simd-accel ${SIMD_VARS_${ARCH}${PORT_OPTIONS:MAVX}}
SIMD_VARS_i386= RUSTFLAGS+="-C target-feature=+sse2"

post-patch:
Expand Down

0 comments on commit f54f43d

Please sign in to comment.