mirror of
https://gitee.com/openharmony/third_party_rust_regex
synced 2025-04-18 02:20:47 +00:00

This makes a few touch ups to benchmarks: 1. Add some regex-dna related benchmarks. 2. Change use of RUSTFLAGS="-C target-feature=+ssse3" to RUSTFLAGS="-C target-cpu=native". 3. Switch order of parameters to regex-run-one benchmarking tool.
10 lines
186 B
Bash
Executable File
10 lines
186 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Enable SIMD.
|
|
export RUSTFLAGS="-C target-cpu=native"
|
|
|
|
exec cargo build \
|
|
--release \
|
|
--features 're-onig re-pcre1 re-pcre2 re-re2 re-rust re-rust-bytes re-tcl' \
|
|
"$@"
|