We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a2c08e commit c038e91Copy full SHA for c038e91
src/chain-libs/chain-vote/build.rs
@@ -13,6 +13,8 @@ const BACKEND_FLAG_P256K1: &str = "__internal_ex_backend_p256k1";
13
const BACKEND_FLAG_RISTRETTO255: &str = "__internal_ex_backend_ristretto255";
14
15
fn main() {
16
+ // Register the custom cfg for rustc
17
+ println!("cargo:rustc-check-cfg=cfg(crypto_backend, values(\"__internal_ex_backend_p256k1\", \"__internal_ex_backend_ristretto255\"))");
18
cfg_if::cfg_if! {
19
if #[cfg(feature = "p256k1")] {
20
println!("cargo:rustc-cfg=crypto_backend=\"{}\"", BACKEND_FLAG_P256K1);
0 commit comments