Unverified Commit 7260a2c8 authored by Hiroshi SHIBATA's avatar Hiroshi SHIBATA
Browse files

bash didn't provide \d

parent 019c0115
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1286,7 +1286,7 @@ build_package_enable_yjit() {
  local rustc_ver="$(rustc --version 2>/dev/null)"
  [ -n "$rustc_ver" ] || return 0
  # YJIT supports Rust 1.58.1 and later
  if [[ "${rustc_ver}" =~ ^rustc\ 1\.(58\.1|59\.|[6789]\d\.) ]]; then
  if [[ "${rustc_ver}" =~ ^rustc\ 1\.(58\.1|59\.|[6789][0-9]+\.) ]]; then
    echo "Building with YJIT by default because ${rustc_ver} is installed; add RUBY_CONFIGURE_OPTS='--disable-yjit' to disable explicitly" >&3
    package_option ruby configure --enable-yjit
  else