File tree Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ use std::io;
1515use std:: sync:: LazyLock ;
1616
1717use crate :: { Protocol , TlsAcceptorBuilder , TlsConnectorBuilder } ;
18+ use log:: debug;
1819
1920static PROBE_RESULT : LazyLock < ProbeResult > = LazyLock :: new ( openssl_probe:: probe) ;
2021
Original file line number Diff line number Diff line change @@ -103,17 +103,12 @@ use std::fmt;
103103use std:: io;
104104use std:: result;
105105
106- #[ cfg( not( any( target_os = "windows" , target_vendor = "apple" ) ) ) ]
107- #[ macro_use]
108- extern crate log;
109- #[ cfg( target_vendor = "apple" ) ]
110- #[ path = "imp/security_framework.rs" ]
111- mod imp;
112- #[ cfg( target_os = "windows" ) ]
113- #[ path = "imp/schannel.rs" ]
114- mod imp;
115- #[ cfg( not( any( target_vendor = "apple" , target_os = "windows" ) ) ) ]
116- #[ path = "imp/openssl.rs" ]
106+ #[ cfg_attr( target_vendor = "apple" , path = "imp/security_framework.rs" ) ]
107+ #[ cfg_attr( target_os = "windows" , path = "imp/schannel.rs" ) ]
108+ #[ cfg_attr(
109+ not( any( target_vendor = "apple" , target_os = "windows" ) ) ,
110+ path = "imp/openssl.rs"
111+ ) ]
117112mod imp;
118113
119114#[ cfg( test) ]
You can’t perform that action at this time.
0 commit comments