You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for libc++ implementation of C++ std::regex
* bench/Cargo.toml: add `libcxx` feature
* bench/build.rs: link against `libc++` when `libcxx` feature is specified with `re-stdcpp` feature. The `cc::Build::cpp_set_stdlib("c++")` method is not used because GCC does not support the `-stdlib` flag.
* bench/run: add `stdcpp-libcxx` option for benchmarking `libc++` `std::regex` implementation.
This requires the user to specify the compiler `CXX` and compiler flags `CXXFLAGS` necessary for compiling with `libc++`[1].
[1] https://libcxx.llvm.org/docs/UsingLibcxx.html
0 commit comments