style: applied rustfmt to pcre2 jit statics
This commit is contained in:
@@ -34,10 +34,11 @@ pub use rg::run as run_rg;
|
||||
/// PCRE2 JIT toggle: `OMP_PCRE2_JIT=1` forces JIT on, `0`/`false` forces it
|
||||
/// off. Unset, JIT stays on everywhere except macOS, where PCRE2's SLJIT
|
||||
/// executable allocator can fault while compiling patterns (issue #7399).
|
||||
pub(crate) static PCRE2_JIT_ENABLED: LazyLock<bool> = LazyLock::new(|| match std::env::var("OMP_PCRE2_JIT") {
|
||||
Ok(v) if !v.is_empty() => v != "0" && !v.eq_ignore_ascii_case("false"),
|
||||
_ => !cfg!(target_os = "macos"),
|
||||
});
|
||||
pub(crate) static PCRE2_JIT_ENABLED: LazyLock<bool> =
|
||||
LazyLock::new(|| match std::env::var("OMP_PCRE2_JIT") {
|
||||
Ok(v) if !v.is_empty() => v != "0" && !v.eq_ignore_ascii_case("false"),
|
||||
_ => !cfg!(target_os = "macos"),
|
||||
});
|
||||
|
||||
#[derive(Parser, Debug)]
|
||||
#[command(
|
||||
|
||||
Reference in New Issue
Block a user