chore(tfhe): use concrete-csprng 0.4.0 allows to use stable for M1/M2 macs

This commit is contained in:
Arthur Meyre
2023-08-29 16:18:29 +02:00
parent ebeee1d6f8
commit 462834a12e
2 changed files with 2 additions and 3 deletions

View File

@@ -3,8 +3,7 @@ OS:=$(shell uname)
RS_CHECK_TOOLCHAIN:=$(shell cat toolchain.txt | tr -d '\n')
CARGO_RS_CHECK_TOOLCHAIN:=+$(RS_CHECK_TOOLCHAIN)
TARGET_ARCH_FEATURE:=$(shell ./scripts/get_arch_feature.sh)
RS_BUILD_TOOLCHAIN:=$(shell \
( (echo $(TARGET_ARCH_FEATURE) | grep -q x86) && echo stable) || echo $(RS_CHECK_TOOLCHAIN))
RS_BUILD_TOOLCHAIN:=stable
CARGO_RS_BUILD_TOOLCHAIN:=+$(RS_BUILD_TOOLCHAIN)
CARGO_PROFILE?=release
MIN_RUST_VERSION:=$(shell grep rust-version tfhe/Cargo.toml | cut -d '=' -f 2 | xargs)

View File

@@ -48,7 +48,7 @@ log = "0.4.19"
cbindgen = { version = "0.24.3", optional = true }
[dependencies]
concrete-csprng = { version = "0.3.0", features = [
concrete-csprng = { version = "0.4.0", path= "../concrete-csprng", features = [
"generator_fallback",
"parallel",
] }