From e6861b0b0875b6db2fe46cde0087f1d362751345 Mon Sep 17 00:00:00 2001 From: kilic Date: Sun, 7 Jan 2024 19:51:14 +0300 Subject: [PATCH] fix multicore compiling issue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Carlos PĂ©rez <37264926+CPerezz@users.noreply.github.com> --- halo2_proofs/Cargo.toml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/halo2_proofs/Cargo.toml b/halo2_proofs/Cargo.toml index c2b6a1c43a..fc51c10e56 100644 --- a/halo2_proofs/Cargo.toml +++ b/halo2_proofs/Cargo.toml @@ -51,7 +51,7 @@ harness = false backtrace = { version = "0.3", optional = true } ff = "0.13" group = "0.13" -halo2curves = { version = "0.5.0" } +halo2curves = { version = "0.5.0", default-features = false } rand_core = { version = "0.6", default-features = false } tracing = "0.1" blake2b_simd = "1" # MSRV 1.66.0 @@ -80,8 +80,8 @@ serde_json = "1" getrandom = { version = "0.2", features = ["js"] } [features] -default = ["batch", "multicore"] -multicore = ["maybe-rayon/threads"] +default = ["batch", "multicore", "bits"] +multicore = ["maybe-rayon/threads", "halo2curves/multicore"] dev-graph = ["plotters", "tabbycat"] test-dev-graph = [ "dev-graph", @@ -89,6 +89,7 @@ test-dev-graph = [ "plotters/bitmap_encoder", "plotters/ttf", ] +bits = ["halo2curves/bits"] gadget-traces = ["backtrace"] thread-safe-region = [] sanity-checks = []