Skip to content

Commit 2da1c5b

Browse files
committed
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.
1 parent b7280ca commit 2da1c5b

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

bench/compile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
#!/bin/sh
22

3-
# Enable SIMD.
4-
export RUSTFLAGS="-C target-cpu=native"
5-
63
exec cargo build \
74
--release \
85
--features 're-re2 re-onig re-pcre1 re-pcre2 re-rust re-rust-bytes re-tcl re-dphobos-dmd re-dphobos-ldc' \

bench/run

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ if [ $# = 0 ] || [ $1 = '-h' ] || [ $1 = '--help' ]; then
99
usage
1010
fi
1111

12-
# Enable SIMD, unless we're in CI, then we inherit RUSTLFAGS.
13-
if [ -z "$TRAVIS_RUST_VERSION" ]; then
14-
export RUSTFLAGS="-C target-cpu=native"
15-
fi
16-
1712
which="$1"
1813
shift
1914
case $which in

0 commit comments

Comments
 (0)