We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12e3c66 commit 4e745ebCopy full SHA for 4e745eb
secp256k1-sys/build.rs
@@ -43,7 +43,9 @@ fn main() {
43
.define("USE_SCALAR_INV_BUILTIN", Some("1"));
44
45
if cfg!(feature = "lowmemory") {
46
- base_config.define("ECMULT_WINDOW_SIZE", Some("4")); // A low-enough value to consume neglible memory
+ base_config.define("ECMULT_WINDOW_SIZE", Some("4")) // A low-enough value to consume neglible memory
47
+ .include("depend/config")
48
+ .define("USE_ECMULT_STATIC_PRECOMPUTATION", Some("1"));
49
} else {
50
base_config.define("ECMULT_WINDOW_SIZE", Some("15")); // This is the default in the configure file (`auto`)
51
}
0 commit comments