• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #![allow(clippy::inconsistent_digit_grouping, clippy::unusual_byte_groupings)]
2 
3 use std::env;
4 
main()5 fn main() {
6     if let Ok(version) = env::var("DEP_OPENSSL_VERSION_NUMBER") {
7         let version = u64::from_str_radix(&version, 16).unwrap();
8 
9         if version >= 0x3_00_00_00_0 {
10             println!("cargo:rustc-cfg=ossl300");
11         }
12     }
13 }
14