RuntimeError: Failed to find libFuzzer; you may be building using Apple Clang. Apple Clang does not come with libFuzzer.
Please download and build the latest version of Clang:
git clone --depth=1 https://github.com/llvm/llvm-project.git
cd llvm-project
cmake -DLLVM_ENABLE_PROJECTS='clang;compiler-rt' -G "Unix Makefiles" -S llvm -B build
NPROC=$(sysctl -n hw.logicalcpu 2>/dev/null || nproc)
cmake --build build --parallel $NPROC # This step is very slow.
Then, set $CLANG_BIN="$(pwd)/bin/clang" and run pip again.
You should use this same Clang for building any Python extensions you plan to fuzz.
I'm not sure we want to build clang in the github ci…
I'm not sure we want to build clang in the github ci…