File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ jobs:
242242 gh release upload ${{ github.event.release.tag_name }} rapidsnark-linux-arm64-${{ github.ref_name }}.zip
243243
244244 build-apple-arm64 :
245- runs-on : macos-14
245+ runs-on : macos-15
246246 steps :
247247 - uses : actions/checkout@v4
248248 with :
Original file line number Diff line number Diff line change @@ -322,6 +322,7 @@ build_macos_arch()
322322 cd " $BUILD_DIR "
323323 ../configure --prefix=" ${PACKAGE_DIR} " \
324324 CC=" $( xcrun --sdk macosx --find clang) " \
325+ CPP_FOR_BUILD=" $( xcrun --sdk macosx --find clang) -E" \
325326 CFLAGS=" -O3 -isysroot $( xcrun --sdk macosx --show-sdk-path) ${ARCH_FLAGS} -fvisibility=hidden -mmacos-version-min=14.0" \
326327 LDFLAGS=" " \
327328 --host " ${ARCH} -apple-darwin" --disable-assembly --enable-static --disable-shared --with-pic &&
Original file line number Diff line number Diff line change @@ -364,6 +364,9 @@ groth16_prover_prove(
364364 stringPublic.length (), public_size,
365365 " Required" );
366366
367+ *proof_size = stringProof.length ();
368+ *public_size = stringPublic.length ();
369+
367370 std::strncpy (proof_buffer, stringProof.c_str (), *proof_size);
368371 std::strncpy (public_buffer, stringPublic.c_str (), *public_size);
369372
You can’t perform that action at this time.
0 commit comments