@@ -30,13 +30,19 @@ flate2 = "1.0"
3030bitvec = " 1.0"
3131byteorder = " 1.4.3"
3232thiserror = " 2.0.12"
33-
3433group = " 0.13.0"
3534once_cell = " 1.18.0"
3635tracing = " 0.1"
3736tracing-subscriber = { version = " 0.3.18" , features = [" env-filter" , " time" ] }
3837tikv-jemallocator = { version = " 0.6.0" , optional = true }
3938
39+ # Use halo2curves ASM on x86_64 by default; disable ASM on non-x86_64
40+ [target .'cfg(target_arch = "x86_64")' .dependencies ]
41+ halo2curves = { version = " 0.9.0" , features = [" std" , " bits" , " derive_serde" , " asm" ] }
42+
43+ [target .'cfg(not(target_arch = "x86_64"))' .dependencies ]
44+ halo2curves = { version = " 0.9.0" , features = [" std" , " bits" , " derive_serde" ] }
45+
4046[target .wasm32-unknown-unknown .dependencies ]
4147# see https://github.com/rust-random/rand/pull/948
4248getrandom = { version = " 0.2.0" , default-features = false , features = [" js" ] }
@@ -56,10 +62,3 @@ jem = ["tikv-jemallocator"]
5662[profile .release ]
5763debug = 1
5864lto = " fat"
59-
60- # Use halo2curves ASM on x86_64 by default; disable ASM on non-x86_64
61- [target .'cfg(target_arch = "x86_64")' .dependencies ]
62- halo2curves = { version = " 0.9.0" , features = [" std" , " bits" , " derive_serde" , " asm" ] }
63-
64- [target .'cfg(not(target_arch = "x86_64"))' .dependencies ]
65- halo2curves = { version = " 0.9.0" , features = [" std" , " bits" , " derive_serde" ] }
0 commit comments