From e036f97273e48b2c51ee22a090cd105459b7dbec Mon Sep 17 00:00:00 2001 From: Mateusz Gienieczko Date: Sun, 10 Sep 2023 16:49:53 +0100 Subject: [PATCH] !!!!! --- .github/workflows/rust.yml | 5 ++++- crates/rsonpath-lib/src/classification/simd.rs | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 6a9d8bd3..42f5c2f6 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -100,7 +100,10 @@ jobs: run: sudo apt install lld - name: Install lld (MacOS) if: matrix.os == 'macos-latest' - run: brew install --with-lld --HEAD llvm + run: | + brew install llvm + export PATH=/usr/local/opt/llvm/bin:$PATH + export LD_LIBRARY_PATH=$(llvm-config --libdir):$LD_LIBRARY_PATH - name: Install winget (Windows) if: matrix.os == 'windows-latest' uses: Cyberboss/install-winget@3301de662a82d09e8aded238e995a8e1259159c8 diff --git a/crates/rsonpath-lib/src/classification/simd.rs b/crates/rsonpath-lib/src/classification/simd.rs index 342cc014..75de61fb 100644 --- a/crates/rsonpath-lib/src/classification/simd.rs +++ b/crates/rsonpath-lib/src/classification/simd.rs @@ -633,7 +633,7 @@ cfg_if! { macro_rules! simd_dispatch { ($conf:expr => |$simd:ident| $b:block) => { let conf = $conf; - assert_eq!(conf.highest_simd(), SimdTag::Nosimd); + assert_eq!(conf.highest_simd(), $crate::classification::simd::SimdTag::Nosimd); assert!(!conf.fast_quotes()); assert!(!conf.fast_popcnt()); let $simd = $crate::classification::simd::ResolvedSimd::<