Skip to content

Commit

Permalink
MFH: r486650
Browse files Browse the repository at this point in the history
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

Approved by:	ports-secteam blanket
  • Loading branch information
jbeich committed Dec 5, 2018
1 parent b4fdb54 commit 9937282
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 @@ -96,7 +96,7 @@ AVX_IMPLIES= SIMD
# 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 9937282

Please sign in to comment.