Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
bench: remove RUSTFLAGS
We no longer need to enable SIMD optimizations at compile time. They are
automatically enabled when regex is compiled with the `unstable`
feature.
  • Loading branch information
BurntSushi committed Mar 13, 2018
commit 02962dfdfd9e754b675e119ff54621f5237554c2
3 changes: 0 additions & 3 deletions bench/compile
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#!/bin/sh

# Enable SIMD.
export RUSTFLAGS="-C target-cpu=native"

exec cargo build \
--release \
--features 're-re2 re-onig re-pcre1 re-pcre2 re-rust re-rust-bytes re-tcl re-dphobos-dmd re-dphobos-ldc' \
Expand Down
5 changes: 0 additions & 5 deletions bench/run
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ if [ $# = 0 ] || [ $1 = '-h' ] || [ $1 = '--help' ]; then
usage
fi

# Enable SIMD, unless we're in CI, then we inherit RUSTLFAGS.
if [ -z "$TRAVIS_RUST_VERSION" ]; then
export RUSTFLAGS="-C target-cpu=native"
fi

which="$1"
shift
case $which in
Expand Down