From 85a06f0459b3f003b2776ed40579573f14ff3062 Mon Sep 17 00:00:00 2001 From: driftluo Date: Mon, 29 Jul 2024 16:33:53 +0800 Subject: [PATCH] chore: new cargo check rule --- rust-toolchain | 2 +- secio/build.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/rust-toolchain b/rust-toolchain index 5deab586..7c7053aa 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -1.68.2 +1.75.0 diff --git a/secio/build.rs b/secio/build.rs index a51b136a..27e0feec 100644 --- a/secio/build.rs +++ b/secio/build.rs @@ -1,6 +1,7 @@ use std::env; fn main() { + println!("cargo:rustc-check-cfg=cfg(ossl110)"); if let Ok(v) = env::var("DEP_OPENSSL_VERSION_NUMBER") { let version = u64::from_str_radix(&v, 16).unwrap();